Splunk Search

How to search and trigger an alert if the same value repeats more than once in a certain field for that particular event?

duraij
Explorer

For example:

:Report=99,10,99

In this case value 99 occurred twice in this field, so I need to pick this event and then create an alert. Please help in solving this issue

0 Karma

somesoni2
Revered Legend

Give this a try (works on Splunk 6.2.0 and above)

your base search | eval temp=split(Report,",") | where mvcount(temp)>mvcount(mvdedup(temp)) | fields - temp
0 Karma

duraij
Explorer

It dint give me any response

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