Splunk Search

Splunk clean eventdata using duration

dhana02v
New Member

Hi Splunk Team,

There is an option to clear entire indexed data using the command "./splunk clean eventdata", it will delete entire data which has been indexed if it has for 3 months.

But my requirements to delete the indexed data for 10 or 30 minutes, is there any option to delete the indexed data using duration.

Thanks in advance.

Warm Regards,
Dhanasekaran.M

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Here is what you can do:

http://docs.splunk.com/Documentation/Splunk/5.0.2/Indexer/RemovedatafromSplunk

It is possible to delete entire "buckets" of data if you know what you are doing. Using the dbinspect command, you can find the buckets that contain data from the time range of interest, then stop and remove the directories. However, this will almost certainly also remove information that is outside of the data you're looking for, unless you're quite lucky.

martin_mueller
SplunkTrust
SplunkTrust

No. You can hide data selectively using the delete command, but this will not clear up disk space.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...