Getting Data In

Syslog Data Storage

miguel255
Engager

I have version 4.1 and have it set up to recieve syslog data directly from various servers but I only want to hold the data on the server for 14 days, is there a way of configuring this?

Also I have been unable to find out where the data is held and how much disk space it is taking up.

Thanks

Tags (1)

bwooden
Splunk Employee
Splunk Employee

By default indexes are stored in $SPLUNK_HOME/var/lib/splunk

You may set limits on disk usage via the GUI or CLI.

If you're only interested in the last 14 days of data, you may choose the appropriate time range from the Time Picker next to the search bar. Alternatively, you may specify that within the search itself:

sourcetype=syslog earliest=-14d 
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 ...