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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...