How to configure syslog-ng to support multiple files per syslog source?

  • Hi,

    I installed the syslog-ng package and got it running with default parameters. But now I like store the logdata of each source (by IP address) in a separate file.

    I found a hint in the syslog-ng documentation version 3.8 page 37

    If you want to create separate log files for every client host, use the ${HOST} macro when specifying the filename, for example:
    destination d_local { file("/var/log/messages_${HOST}"); };

    How can this be done with the webinterface of syslog-ng in pfSense?

    Best regards


Log in to reply