Dashboards & Visualizations

Is there an XML equivalent to the Dashboard Studio clearDefaultOnSelection feature?

chiliconbeano
Path Finder

Is there an XML equivalent to the Dashboard Studio clearDefaultOnSelection feature?  I'm not looking for a Java Script solution, just a straight..pure XML solution.  The 'default' token value in my case is '.*'

Here is my attempt and it doesn't work..perhaps I have a syntax error?

<change>
<eval token="form.multi_token">if(match($form.multi_token$, "^\.\*") AND $form.multi_token$ != "^\.\*$", replace($form.multi_token$, "\.\*", ""), $form.multi_token$)</eval>
</change>

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

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...