Splunk Enterprise Security

token condition match

sahana
Engager

Hi,

I have a parent panel which has below table panel

Function NameSuccessFailureSLA
greet34513.5
NGA43067.5
Customer54145

this has two drilldown panel

the 1st drilldown panel should appear if we click the column value failure.

the 2nd drilldown panel should appear if we click the column value SLA.

Thanks in advance,

 

Tags (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@sahana 

Try this.

<dashboard>
  <label>Drilldown By Value</label>
  <row>
    <panel>
      <table>
        <search>
          <query>| makeresults | eval _raw="Function_Name,Success,Failure,SLA
greet,34,5,13.5
NGA,43,0,67.5
Customer,54,1,45" | multikv forceheader=1
| table Function_Name	Success	Failure	SLA</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <drilldown>
          <condition match="$click.name2$ ==&quot;Failure&quot;">
            <set token="flag">Failure Clicked. Value = $click.value2$</set>
          </condition>
          <condition match="$click.name2$ ==&quot;SLA&quot;">
            <set token="flag">SLA Clicked. Value = $click.value2$</set>
          </condition>
          <condition>
            <unset token="flag" />
          </condition>
        </drilldown>
      </table>
    </panel>
  </row>
  <row>
    <panel>
      <html>$flag$</html>
    </panel>
  </row>
</dashboard>

 

Please refer below link for more info.

https://docs.splunk.com/Documentation/Splunk/8.2.5/Viz/DrilldownIntro

 

Thanks
KV


If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.


Introducing Unified TDIR with the New Enterprise Security 8.2

Read the blog
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...