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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...