Splunk Search

eval of environment variables

poete
Builder

I am trying to get the content of dashboard panel translaed according to the env:locale value. In order to do this, I have a lookup table gathering, for each numeric value, the translation, French and Eglish for instance. I try to use the value of env:locale as a key to the lookup, but it doesnot seem to work at all. Is there a limitation here?

0 Karma
1 Solution

poete
Builder

So I found the answer to my question ... in the documentation of course!
http://docs.splunk.com/Documentation/Splunk/7.1.1/Viz/tokens, section token filters.

What was missing is the usage of the |s to wrap values in quotes

View solution in original post

0 Karma

poete
Builder

So I found the answer to my question ... in the documentation of course!
http://docs.splunk.com/Documentation/Splunk/7.1.1/Viz/tokens, section token filters.

What was missing is the usage of the |s to wrap values in quotes

0 Karma
Get Updates on the Splunk Community!

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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...