Dashboards & Visualizations

Token for a field containing spaces and special characters

chintu_jain
Explorer

How do I return the value of a field that contains spaces and special characters using a Token? The field name is License quota used (%)

I tried the following combinations, however none appear to work.

$result."License quota used (%)"$
$"result.License quota used (%)"$
$result.License quota used (%)$"

Tried single quotes as well, but no luck.

0 Karma

cpetterborg
SplunkTrust
SplunkTrust

The token and the label don't have to be the same. Why not make the token easy to use?

0 Karma

sbbadri
Motivator

Try this

1) $result.License%20quota%20used%20(%)$

or

2) <eval token="licenselabel">License quota used (%)</eval>
$result.licenselabel$
or

3) "$result.'License quota used (%)$"

0 Karma

chanmi2
Path Finder

I am trying to do similar things in sending email alert, with inline table included. Point 1 and 3 did not work

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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