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 App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...