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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...