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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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