log-vital {add <oid> {comment <comment>;}file-size;files;group {operating;idp;storage;cluster-counter;screen;spu;}interval;storage-limit;}

Hierarchy Level

[edit system]

Release Information

Statement introduced in Junos OS Release 12.1X47-D15.


Configure vital log data.



Specify the OID to be used to collect the raw data.

  • comment—Specify the comment for the raw OID.

Specify the size of the current dump file.

Range: 1 MB to 100 MB.

Default: 5 MB for branch SRX Series devices and 10 MB for high-end SRX Series devices.


Specify the lifetime (number of days) for the dump file to be stored. The dump file is stored at /var/log/vital/.

Range: 1 to 30 days.

Default: 3 days.


Specify the pre-defined OID group to be used. Each group contains multiple OIDs within the same area. Once a group enabled, all OIDs in the group will be periodically collected and dumped.

  • operating—This group includes state, temperature, current CPU utilization percentage, buffer utilization percentage, heap-utilization percentage, up time, average-load in the last 1 minute, 5 minutes, or 15 minutes, and buffer-pool utilization percentage in the control plane of each operating component in the system.
  • idp—This group includes IDP data plane memory usage, IDP session usage and policies loaded number.
  • storage—This group includes storage utilization of directory /var/log.
  • cluster-counter—This group includes current total session number, total CPS, IPv4 CPS, IPv6 CPS, current total IPv4 session number, and current total IPv6 session number of both node 0 and node 1.
  • screen—This group includes screen statistics of a specified zone.
  • spu—This group includes CPU usage, memory usage, current flow session number, current CP session number, IPv4 session number, IPv6 session number, CP IPv4 session number, and CP IPv6 session number of the SPU.

Specify the collection interval in minutes. The configuration takes effect immediately with new interval value.

Range: 1 to 1440 minutes.

Default: 10 minutes.


Specify the storage usage limit in percentage. If the current storage usage of the directory /var/log/ is above the upper limit, collection is canceled but is tried next time.

Range: 1 to 100 percent.

Default: 80 percent.

Required Privilege Level

security—To view this statement in the configuration.

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