Dashboards & Visualizations

Passing Values from a Column whose Name Contains Spaces

makelovenotwar
Path Finder

In Dashboard Studio, I want to set the value of my token to only the values clicked of a specific column by using row.<fieldname>.value. But in my case, my customers don't like seeing column names like CustomerAddress or CustomerPhone, rather "Customer Address" or "Customer Phone". How can I pass these values as tokens in my dashboards since column names will contain spaces? I've tried double quotes, single quotes, escaping ,and URL encoding.

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Have you tried without quotes (as the value is quoted anyway in the source).

If this doesn't work, please share your source code in a code block </> so we can see what you have tried.

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try setting your token to value2 not row.<fieldname>.value

0 Karma

makelovenotwar
Path Finder

No dice, didn't work 🙂 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Have you tried without quotes (as the value is quoted anyway in the source).

If this doesn't work, please share your source code in a code block </> so we can see what you have tried.

0 Karma

makelovenotwar
Path Finder

Wow. This is why I didn't find answers to this on the internet, it worked with the spaces 🙄

row.Customer Address.value. Thank you!

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...