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 MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...