Build a subsearch to build the EVALs for you?
| makeresults
| eval _raw="aaa :4:"
| eval
[| inputlookup test_regex.csv
| fields pattern output_value
| eval search="test=if(match(_raw,\"".pattern."\"),\"".output_value."\", test), "
| fields search
| mvcombine search
| eval search=trim(trim(mvjoin(search," "),"| eval"),", ")]
Hey getting below error
Error in 'eval' command: The expression is malformed. An unexpected character is reached at ')'.