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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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