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,

 

Labels (1)
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.

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

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