Knowledge Management

Delete overlaps from summary index

rroberts
Splunk Employee
Splunk Employee

The knowledge manager manual mentions ""Manually delete the overlaps from the summary index using the search language." I'm familiar with the Delete command and how it works. But, what other command(s) would you use to pipe only the dups to the Delete command, whilst preserving only one copy of each events?

index=summary search_name=xyz et= lt= **Twilight Zone********* | delete**

In other words, how do I output only duplicates, but exclude one copy (or the original)?

Tags (2)

gkanapathy
Splunk Employee
Splunk Employee

You would use the overlap search command, but I'm not sure you can pipe the output of that to delete, which is what I think "manually" is trying to get across.

rroberts
Splunk Employee
Splunk Employee

yes, I used ...index=summary search_name=productPurchased | overlap but I could not pipe to delete (This command cannot be invoked after the non-streaming command 'overlap'.) Pipe to overlap did generate a results table with overlap_latest and overlap_earliest fields but not sure how to use these.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...