Splunk Search

Data deletion upon start problem

yanivoren
New Member

Hi,
I'm using free edition of splunk server, the problem is that every time I start the splunk server, the data is deleted, I also see it being deleted in the var/lib/splunk folder.
more info: I did not breach the 500 MB limit, indexes.conf is at the default state,
same search query is being executed before restart and after restart with different results (before - finds result, after - doesn't), latest splunk 5.0.1 is used.
TIA

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

I don't know what you're doing. Splunk doesn't delete files on restart, and there's no function that does that other than an explicit clean of the indexes. On the other hand, if the files aren't actually being deleted, perhaps it is simply that your query is time-range specific and you're not getting results shortly after a restart because of that.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...