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
↧