Splunk Search

Is there an opposite to dedup?

rlough
Path Finder

Basically I have a field "Name" and I want to keep all events with duplicate "Name"s. So exactly the opposite of dedup.

Is this possible?

Edit:
I have a bunch of events that each have a field "Name". I want to eliminate any events that do not share a "Name" with another event.
My search is fairly simple besides this. It looks something like: index=*ind* source=src1.log Name=* info=HIGH | table Name

In my stats table, I only want names that appear more than once.

Tags (1)
1 Solution

jhupka
Path Finder

You could do something like this:

index=ind source=src1.log Name=* info=HIGH | table Name | evenstats count by Name | search count>1

View solution in original post

jhupka
Path Finder

You could do something like this:

index=ind source=src1.log Name=* info=HIGH | table Name | evenstats count by Name | search count>1

rlough
Path Finder

Sweet, thanks!

0 Karma

bobbyfaber
Explorer

Not sure this question is clear enough. Do you want events that have Name more than once? What have you tried so far? Can you share an example of your search?

0 Karma

rlough
Path Finder

I updated my question to be more clear, sorry!

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 ...