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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...