cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
760
Views
0
Helpful
3
Replies

show log for CSS

sirajmuneer
Level 1
Level 1

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 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello SiraJ,

if CSS is like a router you can use

sh log | inc Aug

Hope to help

Giuseppe

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

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

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:

Review Cisco Networking products for a $25 gift card