cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1756
Views
5
Helpful
1
Replies

LMS 4.2 Syslog File Size and Management

John Mayer
Level 1
Level 1

Hello All

i have LMS 4.2 in Network with 100 devices, all of my devices have ACL so, there are too many logs in syslog

after a while the size of the log files in /var/log files (boot.log, messages.log) going to have huge size, something about 20G for each one

I'm looking for a way to reduce the size, is it possible to use Log Rotation or not??

Best Regards

John Mayer

1 Reply 1

Vinod Arya
Cisco Employee
Cisco Employee

Ideall Logs are supposed to fill the syslog file sooner or later. Though logrot is amongst a best way to keep the Syslog file size in check.

You can check the procedure for Logrot here :

Configuring Log Files Rotation

Additionally, there are some more Syslog Administrative Tasks which can keep your syslog in control. You can perform the following Administrative tasks:

•Back up Syslog messages (see Setting the Syslog Backup Policy).

•Purge Syslog messages (see Setting the Syslog Purge Policy).

•Perform a Forced Purge (see Performing a Syslog Forced Purge).

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **
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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco