cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6557
Views
27
Helpful
7
Replies

How to view the Syslog Application logs in CLI

On CallManager 6.1.x, how do we view the Application Logs in the Syslog Viewer using the CLI?  I know how to view the traces but not the Application or System logs in CLI.  My RTMT to a customer is being blocked so I need to use the CLI.  Thanks.

1 Accepted Solution

Accepted Solutions

htluo
Level 9
Level 9

Event Viewer-Application Log = /var/log/active/syslog/CiscoSyslog.*

Event Viewer-System Log = /var/log/active/syslog/messages.*

From CLI:

To list application logs:

file list activelog syslog/CiscoSyslog.* date detail

To list system logs:

file list activelog syslog/messages.* date detail

To view a specific application log:

file view activelog syslog/CiscoSyslog.1

To view a specific system log:

file view activelog syslog/messages.1

http://htluo.blogspot.com

Michael

View solution in original post

7 Replies 7

Jaime Valencia
Cisco Employee
Cisco Employee

You can't you forcefully need RTMT for that

HTH

java

If this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

htluo
Level 9
Level 9

Event Viewer-Application Log = /var/log/active/syslog/CiscoSyslog.*

Event Viewer-System Log = /var/log/active/syslog/messages.*

From CLI:

To list application logs:

file list activelog syslog/CiscoSyslog.* date detail

To list system logs:

file list activelog syslog/messages.* date detail

To view a specific application log:

file view activelog syslog/CiscoSyslog.1

To view a specific system log:

file view activelog syslog/messages.1

http://htluo.blogspot.com

Michael

I had no idea you could get those via CLI, I'll have to save those commands

java

HTH

java

if this helps, please rate

Great, thanks Michael.  Is there a way that you can do a search for a keyword in the logs without having to look through the entire log?

   Tony

file search activelog syslog/CiscoSyslog.* my-keyword

Michael

http://htluo.blogspot.com

Hi  i have this error:someone have the answer?

a linsencing error occured, if the try again in five minutes; if the problem persist, please please see your log file or system administrator 

 

old thread revival alert; sorry

this has been super helpful, thank you

i am wondering though if there is a way you can view the file without doing the n=next p=prev steps, so does a dump of all to screen?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: