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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...