Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

show log for CSS

Hi guys,

I would like to know if there is a way to search log for specified time in CSS?

I have logs from Feb till now , but i want to view logs for Aug only, is it possible?

This is CSS11503 series. Thanks in advance.

siraJ

3 REPLIES
Hall of Fame Super Silver

Re: show log for CSS

Hello SiraJ,

if CSS is like a router you can use

sh log | inc Aug

Hope to help

Giuseppe

New Member

Re: show log for CSS

the log has about 140k lines, i am able to view first 3000++ lines and last 1000 lines (via tail commands).

I am just wondering if i can view any lines in between?

this is the log command for CSS

LoadBalancer# sh log sys.log ?

Execute command

line-numbers Include line numbers when displaying log file

tail Begin display at specified line count from end of file

LoadBalancer# sh log sys.log

Thanks again

SiraJ

Hall of Fame Super Silver

Re: show log for CSS

Hello SiraJ,

I would think to move the file on a unix station and the to use the grep command to create a subfile for the mounth of August or by accessing the file with vi or vim editors.

verify you can move the file with FTP or TFTP protocols.

Hope to help

Giuseppe

182
Views
0
Helpful
3
Replies
CreatePlease to create content