Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Managing the Log Files and Core Files

Viewing and Managing Centralized Log Files

On a disaggregated Junos OS platform, a centralized logging server collects all system logs for all computing entities in the disaggregated Junos OS. Centralized logging simplifies device management by allowing users to view all log files for all disaggregation Junos entities in a single place.

Note:

Syslog feature configuration is not supported on JDM.

This topic describes:

Enabling Centralized Logging

You can enable centralized logging on vSRX to view the log files on JDM.

  1. Log in to vSRX:
  2. Ensure that the fxp0 interface is assigned the management IP address:
  3. Assign a hostname to the vSRX instance:
  4. To specify JDM as the host for the central log file:

    192.168.1.254 is the internal management IP address of JDM

    You can specify filters for the messages that you want displayed. If you specify any any all the messages will be logged.

Viewing Log Messages

To view system log messages logged by VNFs and the system generated logs on JDM, use the command:

To view other log messages, use the command:

Note:

You cannot view JCP log files on JDM.

A log rotation process runs every 5 minutes. If the log file size is greater than 5 MB, then the log files get rotated. The log files are saved in the /var/log directory.

Managing Core Files

This topic discusses how to view core files for a disaggregated Junos OS platform.

It contains the following sections:

Viewing Core Files

To view all core files from the JDM CLI, enter the show system core-dumps command:

To view all core files displayed in JDM, open the core files using Unix commands. The core files are stored in the /var/tmp/corefiles/ directory on Hypervisor.