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
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