Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Remote Logging with Hostname?

    General pfSense Questions
    2
    2
    730
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      Hi guys,

      a simple thing I noticed recently:

      As I am using a centralized remote-syslog server I have configured my pfSense boxes to log there.

      Of course both have different hostnames.

      Unfortunately both do log with the same name of "pfsense" to the remote syslog server. So I can not decide which bos send the entry.

      Is there a chance to change this so the configured hostname will be logged?

      C.

      1 Reply Last reply Reply Quote 0
      • G
        gjaltemba
        last edited by

        I use the following template to create folders for each client.

        $template TmplMsg, "/var/log/%HOSTNAME%/%PROGRAMNAME%.log"

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.