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!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...