Dashboards & Visualizations

About Splunk Job properties

tkdguq0110
Path Finder

Hi I'm a Splunk beginner.

When I read a Splunk document(https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/tokens), I got a question.

Using token with job properties, panel can be hide.

 

So my dashboard code is below.

 

 

 

<search>
   <query>
      | makeresults
      | eval test = "123"
   </query> 
   <progress>
      <condition match = "'job.resultCount' == 1">
         <set token = "show_html">True</set>
      </condition>
   </progress>
</search>

 

 

 

What I understand is resultCount == 1 (result is _time, test fields with one row. so resultCount is 1)

So that panel should be hide I guess.

Am I wrong understand?

Thanks.

 

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

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...