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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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