Dashboards & Visualizations

[custom drilldown search]"?" is not encoded causing drilldown search failure

sylim_splunk
Splunk Employee
Splunk Employee

This is because Splunk is not encoding the search string properly within the XML source for the dashboard and leave the "?" or "&" characters in as actual characters.

Error message on SplunkWeb is "Unbalanced quotes."

Tags (1)
0 Karma
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

This is an issue reported to Splunk, found to be outstanding in 7.2 & 7.3.
The workaround is , go and edit the xml view file, such as $SPLUNK_HOME/etc/users//local/data/ui/views/.xml
You can use this to get encoding values for characters - https://www.urlencoder.org. I.e) ? = %3F

View solution in original post

sylim_splunk
Splunk Employee
Splunk Employee

This is an issue reported to Splunk, found to be outstanding in 7.2 & 7.3.
The workaround is , go and edit the xml view file, such as $SPLUNK_HOME/etc/users//local/data/ui/views/.xml
You can use this to get encoding values for characters - https://www.urlencoder.org. I.e) ? = %3F

Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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 ...