--- title: "Configure Juniper Networks JUNOS Structured-Data Format" slug: "configure-juniper-networks-junos-structured-data-format" tags: ["ESM", "Reference"] updated: 2026-10-27T15:50:33Z published: 2026-10-27T15:50:33Z canonical: "docs.trellix.com/configure-juniper-networks-junos-structured-data-format" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure Juniper Networks JUNOS Structured-Data Format JUNOS supports logging in standard Junos format and structured-data format. We recommend the structured-data format. Structured-data format includes more information without significantly increasing log size. It also makes it easier for automated applications to extract information from a message. This format complies with Internet draft-ietf-syslog-protocol-23 (https://tools.ietf.org/html/draft-ietf-syslog-protocol-23). These instructions apply to any JUNOS device running 10.3 or later. Some examples are EX, M, MX, PTX, QFX, QFabric, and T series systems. Here is a basic setup example of sending logs to a remote syslog host: ``` [edit system] syslog { host { facility SEVERITY; structured-data { brief; } } } ``` Here is a basic setup example of sending logs to a log file: ``` [edit system] syslog { file { facility SEVERITY; structured-data { brief; } } } ``` More options can be specified for log outputs. See the *JUNOS System Log Messages Reference* document to learn more. 1. To configure the system to log system messages, add a **syslog** statement at the [edit system] hierarchy level. 2. To log in structured-data format, include a structured-data statement for each logging output. :