Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Log & Event Manager (LEM) > Use the CMC checklogs command to display log files

Use the CMC checklogs command to display log files

Table of contents
Created by Justin Rouviere, last modified by Kevin.Kessler on Apr 28, 2017

Views: 66 Votes: 4 Revisions: 8

Overview

The checklogs command displays the contents of the log files stored in LEM from sources such as Syslog and SNMP.

Environment

  • All versions of LEM

Steps

  1. Access the CMC prompt:
    • Virtual Console: Arrow down to Advanced Configuration, and then press Enter.
    • SSH Client: Log in using your CMC credentials.
  2. In the cmc> prompt, enter applianceThe prompt changes to cmc::acm# indicating you are in the appliance configuration menu.
  3. In the acm> prompt, enter checklogs.
  4. Select the log file or local facility by entering the corresponding number in the list and press Enter.
  5. Select if you would like to search from the beginning or end of the log.
    Note: You can press Enter to accept the default (End).
  6. Select the number of lines to return.  
    Note: You can press Enter to accept the default (500).
  7. Press Enter to load the file.
  8. Once you have loaded the file, you can use operators to search for strings.
    • Forward slash (/) to search down the log file.
    • Question mark (?) to search up the log file.
    • Shift + G to go to the bottom of the log file.
    • gg to go to the top of the log file.

 

Last modified
16:27, 28 Apr 2017

Tags

Classifications

Public