Submit a ticketCall us

Training ClassThe Orion® Platform Instructor-led Classes

Provided by SolarWinds® Academy, these trainings will introduce users to the Orion Platform and its features, management, and navigation. These courses are suitable for users looking to discover new tips, tricks, and ways to adapt their Orion products to better suit their monitoring needs:
Deploying the Orion Platform
Configuring Orion views, maps, and accounts
Configuring Orion alerts and reports

Reserve your seat.

Home > Success Center > Log & Event Manager (LEM) > LEM - Knowledgebase Articles > 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-ret on Apr 28, 2017

Views: 3,113 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

Tags

Classifications

Public