All Apps and Add-ons

Delete IP address from database

cgraham1
New Member

How can I delete an IP address from the database? I have devices that have been removed but the entries will still hang on for 3 months in the database.

Tags (2)
0 Karma

MuS
Legend

Hi cgraham1,

the fastest way is to delete events like this:

 yourFancySearchToGetTheIPs | delete

This will make the events non-searchable, but they are still in the index.

There are as well other ways, like move the events to a new index and delete the hole index....but I think the | delete command is a nice and easy way.

hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...