Submit a ticketCall us

Welcome to the NEW Success Center. Search all resources (documentation, videos, training, knowledge base articles) or browse resources by product. If you are unable to find what you are looking for, please contact us at customersuccess@solarwinds.com

 

 

 

 

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 MindTouch on Jun 23, 2016

Views: 1,193 Votes: 4 Revisions: 7

Overview

The checklogs command displays the contents of the log files of Virtual Appliance 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
20:25, 22 Jun 2016

Tags

Classifications

Public