Getting Data In

delete metrics data

kutsyy
Engager

I am trying to figure out how to delete metrics data. "| delete" doesn't work with mstats, is there another way?

Thanks,

Vadim

rjthibod
Champion

You have to clear out the whole index (bin\splunk clean eventdata ...), or, more unsafely, delete the buckets/directories from the file system containing the bad data.

As of now, there is no supporting of the delete command. See my rantings here: https://answers.splunk.com/answers/579720/should-metrics-indexes-support-overwriting-events-1.html

Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...