All Apps and Add-ons

logrotate or max file size for cisco IPS sdee subscriptions

cdavelaar
New Member

The files for the IPS SDEE logs are in $splunk_home/etc/apps/Splunk_CiscoIPS/var/log/$sdee file. Do these have a max file size or can they be configured for logrotate somehow? If it's logrotate, is there a postrotate script to run after the rollover has happened?

Tags (1)
0 Karma

berthayes
New Member

No need to HUP any scripts or tweak logrotate.
This is tunable in:

$SPLUNK_HOME/etc/apps/Splunk_CiscoIPS/default/config.ini

[logging]
# Maximum bytes for log's file size before it being rotated.
# If you want no limit on the log's file size, set this value to 0. The log size will keep growing.
# Default to 100MB
maxBytes = 102400000

# Number of backup log files to keep
# If you want no backup file, set this value to 0.
backupCount = 5
0 Karma
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...