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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...