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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...