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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...