Dashboards & Visualizations

Global variable in Simple XML??

jitsinha
Path Finder

Is it possible to create a global variable in Simple XML dashboard like we do using resultsvaluesetter module in advanceXML??

My requirement is to create a custom table using html tags.

As an example:

Overall Status Count

Total 55

Pass 30
Fail 25

Now here I want create three global variables named as varTotal, varPass, varFail so these values are available as tokens throughout my dashboard.

My dashboard isnt having any dropdowns or for that matter any form elements.

Tags (2)
0 Karma

mclane1
Path Finder

I use input text field with depends on unexisting variable.

<input type="text" token="myToken" depends="$hiddenToken$">
  <default>my variable</default>
</input>

$myToken$ is default value, and you don't see it with "depends".

Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...