Splunk Search

filter by duplication of records

kunalpatil111
New Member

|tlp|lasttime|reporttime|count|itype|indicator|cc|asn|asn_desc|confidence|description|tags|rdata| provider .... i have the data as above, my aim is to filter data in such way so that i could get only duplicates, for eg: from indicator field i want only duplicates IP address

Tags (1)
0 Karma

niketn
Legend

@kunalpatil111 can you add some sample data? What do you want to output just the IPs that are duplicate in field Indicator?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

gcusello
SplunkTrust
SplunkTrust

HI kunalpatil111
try something like this (to modify for your real needs):

index=my_index
| stats count BY IP
| where count >1

Bye.
Giuseppe

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...