Veritas NetBackup™ Cloud Administrator's Guide
- About NetBackup cloud storage
- About the cloud storage
- About the Amazon S3 cloud storage API type
- Protecting data in Amazon Glacier for long-term retention
- Protecting data using Amazon's cloud tiering
- About EMC Atmos cloud storage API type
- About Microsoft Azure cloud storage API type
- About OpenStack Swift cloud storage API type
- Configuring cloud storage in NetBackup
- Scalable Storage properties
- Cloud Storage properties
- About the NetBackup CloudStore Service Container
- About the NetBackup media servers for cloud storage
- Configuring a storage server for cloud storage
- NetBackup cloud storage server properties
- Configuring a storage unit for cloud storage
- Changing cloud storage disk pool properties
- Monitoring and Reporting
- Operational notes
- About unified logging
- About legacy logging
- Troubleshooting cloud storage configuration issues
- Troubleshooting cloud storage operational issues
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
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.
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
# 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.
See the NetBackup Commands Reference Guide for a complete description of the vxlogview command. The guide is available through the following URL: