[syslog-ng] Syslog-ng and NetSkope JSON logs

Fabien Wernli wernli at in2p3.fr
Thu Dec 20 14:55:55 UTC 2018


Hi Julio,

If you want to format your logs in JSON, you need to configure the
destination accordingly. For instance:

    destination d_netskope {
      file(
        "/data/log/syslog/netskope/$HOST/$YEAR-$MONTH-$DAY-netskope.log"
        template("$(format-json -s nv-pairs)\n")
      );
    };



More information about the syslog-ng mailing list