Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Cloud Administrator's Guide
  3. Troubleshooting
  4. About unified logging
  5. Examples of using vxlogview to view unified logs
Veritas NetBackup™ Cloud Administrator's Guide

Examples of using vxlogview to view unified logs

The following examples demonstrate how to use the vxlogview command to view unified logs.

Table: Example uses of the vxlogview command

Item

Example

Display all the attributes of the log messages

vxlogview -p 51216 -d all

Display specific attributes of the log messages

Display the log messages for NetBackup (51216) that show only the date, time, message type, and message text:

vxlogview --prodid 51216 --display D,T,m,x

Display the latest log messages

Display the log messages for originator 116 (nbpem) that were issued during the last 20 minutes. Note that you can specify -o nbpem instead of -o 116:

# vxlogview -o 116 -t 00:20:00

Display the log messages from a specific time period

Display the log messages for nbpem that were issued during the specified time period:

# vxlogview -o nbpem -b "05/03/15 06:51:48 AM" 
    -e "05/03/15 06:52:48 AM"

Display results faster

You can use the -i option to specify an originator for a process:

# vxlogview -i nbpem

The vxlogview -i option searches only the log files that the specified process (nbpem) creates. By limiting the log files that it has to search, vxlogview returns a result faster. By comparison, the vxlogview -o option searches all unified log files for the messages that the specified process has logged.

Note:

If you use the -i option with a process that is not a service, vxlogview returns the message "No log files found." A process that is not a service has no originator ID in the file name. In this case, use the -o option instead of the -i option.

The -i option displays entries for all OIDs that are part of that process including libraries (137, 156, 309, etc.).

Search for a job ID

You can search the logs for a particular job ID:

# vxlogview -i nbpem | grep "jobid=job_ID"

The jobid= search key should contain no spaces and must be lowercase.

When searching for a job ID, you can use any vxlogview command option. This example uses the -i option with the name of the process (nbpem). The command returns only the log entries that contain the job ID. It misses related entries for the job that do not explicitly contain the jobid=job_ID.

Feedback

Was this page helpful?
Previous

About using the vxlogview command to view unified logs

Next

About legacy logging

Feedback

Was this page helpful?