Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
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

syslog (Next Gen Services)

date_range 29-Jan-25

Syntax

content_copy zoom_out_map
syslog {
     escape;
     event-rate event-rate;
     facility-override facility-override;
     format format;
     local-category {};
     local-log-tag;
     mode mode;
     profile name {
         category category;
         stream-name name;
         template traditional-firewall;
     root-streaming;
     source-address ip_address;
     stream {};
     time-format {
          millisecond;
          year;
     }
     transport {
         protocol (tcp | tls | udp);
         tcp-connections tcp-connections;
         tls-profile tls-profile;
     }
     utc-timestamp;
}

Hierarchy Level

content_copy zoom_out_map
[edit services service-set name]

Description

Set UDP based syslogs for Next Gen Services (Unified Services).

Options

escape Enable escape defined by RFC5424 for the sd and binary format logs
event-rate Control plane event rate. Range from 0 through 1500 logs per second
facility-override Alternate facility for logging to remote host
format Set security log format for the device
mode Controls how security logs are processed and exported
profile Security log profile setting
  • name—Name of the profile

  • category—Selects the category of events for the profile

  • stream-name—Defines which stream to use

  • template—Select the template for the profile

root-streaming Logs will be streamed from the Root LSYS
source-address Source ip address used when exporting security logs
time-format Configure year or millisecond for syslog
transport Set security log transport settings
  • protocol—Set security log transport protocol for the device

    • tcp—TCP transfer for log

    • tls—TLS transfer for log

    • udp—UDP transfer for log

  • tcp-connections—Set tcp connection number per-stream. Range is 1 through 5

  • tls-profile—TLS profile

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system

Release Information

Statement introduced in Junos OS Release 19.3R2.

footer-navigation