Skip to content

Forward Juniper / Junos OS logs

Configure Juniper devices (using Junos OS) to forward logs in structured format following this guide

To output messages to a file in structured-data format, include the structured-data statement at the "edit system syslog file filename" hierarchy level:

[edit system syslog file filename]
facility severity;
structured-data {

You can also use the set security log format command:

> set security log format sd-syslog


Make sure that all firewalls (including the firewall on the collector machine) allow connections to the collector port