Splunk Enterprise Security

How to pass Multiple Values in a single token of drilldown

thatsabhijeet
Explorer

<query>
index=index_test
| dedup empID
| eval tot = case (match('call.code' , "1") OR match('call.code' , "2") OR match('call.code' , "3") OR match('call.code' , "4") OR match('call.code' , "5") , "Success",
match('call.code' , "6"),"Failure")
| stats count(eval(tot="Success")) as "TotalSuccess" count(eval(tot="Failure")) as "TotalFailure"
| rename TotalSuccess as SUCCESS, TotalFailure as FAILURE
</query>


In the Drilldown Part:-

<drilldown>
<set token="abc">$click.value$</set>
<set token="xyz">case ($click.name2$="FAILURE", "6",  $click.name2$="SUCCESS", "1,2,3,4,5" )
<link target="_blank"> search?q=index=index_test call.operation IN "$abc$" call.code IN "click.name2"
| dedup empID
| eval tot = case (match('call.code' , "1") OR match('call.code' , "2") OR match('call.code' , "3") OR match('call.code' , "4") OR match('call.code' , "5") , "Success",
match('call.code' , "6"),"Failure")
</link>
</drilldown>


Here in drilldown, I want to pass multiple values in  $click.name2$="SUCCESS", "1,2,3,4,5". But it is not taking the values.

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...