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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...