Archive

How to search a string having multiple lines?

Explorer

I want to search a string

"callbeforedownload = function(){
showInstallInstructions(); }

0 Karma

SplunkTrust
SplunkTrust
"call_before_download = function(){" AND "showInstallInstructions(); }"
0 Karma

Legend

Something like this should work

...| regex _raw="call_before[\s\S]+showInstallInstructions\(\); }"

If you have this extracted in a field, you should replace _raw with fieldname

0 Karma