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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...