Configuring the Syslog Server for Compute Nodes

The syslog server configured on the router running Junos OS is used to received the log messages generated in compute nodes and virtual machines. Therefore, all the messages are logged at one place.

In a router running Junos OS, to enable syslog server in a default routing instance:

To send the log messages to the router from the compute node or virtual machine (VM):

Here are some examples:

example 1:

To send critical kernel log messages to a router running Junos OS (with management interface 1.1.1.2), add the following entry to syslog.conf:

kern.crit @1.1.1.2

example 2:

To send all log messages (any facility and any priority) to a router running Junos OS, add the following entry to syslog.conf:

*.* @1.1.1.2