Splunk Search

I want to use wildcard in eval min command as I have large number of fields and I want a separate column with min values from each row.

nkankur
Path Finder

Like
Field1 Field2 .... Min_Value
112 125 .... 112
....

eval Min_Value=min(Field*)

but it is giving below error,
Error in 'eval' command: The expression is malformed. An unexpected character is reached at ')'.

even I tried the below command,

eval Min_Value=min(Field%)

but it is giving same error

Please help!

Tags (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI

Can you please check below link?? It is the same question asked by you.

https://answers.splunk.com/answers/587912/i-want-to-use-wildcard-in-eval-min-command-as-give.html

Happy Splunking

0 Karma

horsefez
SplunkTrust
SplunkTrust

Hi,

you are not able to address fields in splunk using wildcards.
I'm not sure if it will work, but try out this one.

| eval Min_Value=min(<<fields>>)
0 Karma

nkankur
Path Finder

I am getting below error,

Error in 'eval' command: The expression is malformed. An unexpected character is reached at '<>)'.

0 Karma

horsefez
SplunkTrust
SplunkTrust

Well then it is simply not possible

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...