Noted on that, but, this throws me an Error in 'where' command: The expression is malformed. Expected ). index="main" label=x source="C:\\Users\\me\\Documents\\test22.csv" | eval hm = replace(hostname,",","") | where hm IN ([search index=main label=y userid=tom | fields associateddev | eval list_value = replace(associateddev,"{'","") | eval list_value = replace(list_value,"'}","") | eval list_value = split(list_value,"', '") | mvexpand list_value | stats values(list_value) as search]) but this works assuming i dont do any operations to hostname column. is it possible to insert some eval on hostname before doing the IN operation? index="main" label=x source="C:\\Users\\me\\Documents\\test22.csv" hostname IN ([search index=main label=y userid=tom | fields associateddev | eval list_value = replace(associateddev,"{'","") | eval list_value = replace(list_value,"'}","") | eval list_value = split(list_value,"', '") | mvexpand list_value | stats values(list_value) as search])
... View more