Getting Data In

syslog files growing out of control.

craigrussell
New Member

How do I deal with large syslog files that keep growing?
Do I just delete them or is there an automated way of rolling them. I don't want to lose the data or disconnect the hosts sending it.

Tags (1)
0 Karma

borisalves
Path Finder
0 Karma

jonuwz
Influencer

sowings
Splunk Employee
Splunk Employee

Note that in the Splunk context, you probably want the "delaycompress" option, so that rotated log files can be correctly identified, and read to the end of the file even after the file has been rotated.

craigrussell
New Member

Thanks for the tip. I'll try it.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...