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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...