Getting Data In

Best practice when data is imported wrong?

kfelts68
Explorer

What would be the best practice / standard operating procedure when data is imported wrong into Splunk? I imported a webserver server error logs into splunk and did not select the correct date / time.

See this thread - https://answers.splunk.com/answers/771988/time-column-and-event-date-are-different.html

Now that the data has been imported, and I know it is wrong, should the data be removed? I am not even sure how to remove data from splunk?

Or, rename the server error log, reupload, and search only the new error log name?

This is a windows 10 system using free Splunk.

0 Karma

woodcock
Esteemed Legend

If it is in an index all by itself, just delete the whole index. If not, then use the ... | delete command to hide it from searches (it will still be there because data in a Splunk index is immutable, but it will not show in any search results). The worst thing that you can do is to do nothing: do not leave junk in Splunk.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...