Dashboards & Visualizations

dashboard text input backslash

zakir_hussain
Explorer

how to change backslash of text input of a dashboard to use in subsequent search?

Labels (1)
0 Karma

zakir_hussain
Explorer

the value of the backslash \ to double backslash \\ in side of token is sets up in dashboard xml.
tried following but did not worked.
<eval token="input_tok">replace($form.input_tok$, "(\\\\)", "\\\\\1") </eval>

Tags (1)

zakir_hussain
Explorer

opps, it did work, my eval was not written correctly, i think, i was missing  space after commas in below syntax.

<eval token="input_tok">replace($form.input_tok$, "(\\\\)", "\\\\\1")
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...