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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...