Getting Data In

How to deal with data that was uploaded twice?

sudarshan391
Path Finder

Hi Experts,

I am now in a strange situation, we have a index in which we uploaded .csv files for every month and for previous month data has been uploaded two times. now splunk is showing duplicate entries.

Can someone please suggest how can I get through this situation?
I want to remove duplicate entries for last month from index.

Thanks.

Regards,
Sud

somesoni2
Revered Legend

You can use delete command to remove those duplicate records from any future search (it actually makes those records unsearchable but doesn't actually deletes it/removes from disk). See this for more information on the same.
https://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/RemovedatafromSplunk#Delete_events_from_s...

Please ensure that you run the search without delete command first and validate that you got only the records that you want to delete.

0 Karma

prosenjit2707
Explorer
0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...