Getting Data In

Default setting for splunk log retention

yuwtennis
Communicator

Hi!

I see that splunk manages its logs with log.cfg

However, not all the logs are listed in this configuration file.(web_service.log, web_access.log,btool.log,etc)
Is it correct to understand, the default setting for maxBackupIndex and maxFileSize
as following?

maxBackupIndex = 5
maxFileSize = 25MB

Thanks,
Yu

Tags (1)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

Well, that's for the files on disk, but they are also indexed by Splunk, and are found in the _internal index, where they are retained for (default) 30 days.

/K

View solution in original post

kristian_kolb
Ultra Champion

Well, that's for the files on disk, but they are also indexed by Splunk, and are found in the _internal index, where they are retained for (default) 30 days.

/K

yuwtennis
Communicator

hello kristian.

Thank you for the reply.

Yes . I wanted to know the retention policy for the files.

Thanks,
Yu

0 Karma
Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...