I need to exclude the field values if it is less than or equal to 8 characters. For eg: In the field abc, I have the below values in which I need to exclude only (browsers, files, members) 'coz these has equal to or less than 8 characters. And I need to have the other values
abc:
browsers
files
attachment
members
auto-saved
splunk-answers
discussions
Can someone help me on this, please?
Hi @innoce,
you can use eval len, something like this sample:
| makeresults
| eval ppp="12345678"
| eval check=if(len(ppp)>8,"OK","NOK")
| table check
Ciao.
Giuseppe
| regex abc=".{9}"