Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

structured-data

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
structured-data {
    brief;
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name system syslog file filename],
[edit system syslog file filename]

Description

Write system log messages to the log file in structured-data format, which complies with Internet draft draft-ietf-syslog-protocol-23, The syslog Protocol (http://tools.ietf.org/html/draft-ietf-syslog-protocol-23).

Starting in Junos OS 19.2R1 release and later, after configuring this statement, you cannot configure any other statements that specify the format for messages written to the file. Commit error appears (the explicit-priority statement at the [edit system syslog file filename] hierarchy level and the time-format statement at the [edit system syslog] hierarchy level) if you try to configure any other statement after configuring this statement. In releases prior to Junos OS 19.2R1 release, there is no commit error when you run the request system software validate command before an upgrade to validate the software package as a pre-requisiste.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.3.

external-footer-nav