Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

find max length where field name is firstName_1,firstName_2...

$
0
0
My splunk entry is firstName_1="Tom" firstName_2="Jerry" firstName_3="Tom1" firstName_4="Jerry1" I would like to find max length of firstName. Answer for above entry should be 6 as firstName_4 length is Jerry1 (6) Tried | table firstName_* but getting all the values in table and to find max length, I need to find the length manually. Tried | eval len (firstName_*) but getting error. Can you please help me with this. Thanks

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>