Something like this:
...your search...
| stats values(field1) as f1values values(field2) as f2values
| eval allvalues=mvdedup(mvappend(f1values,f2values))
ought to work.
HI
I propose this
Index=… field1=*|table field1|append[search index=… field2=*|table field2]| eval allvalues=mvappend(field1,field2)|dedup allvalues |table field1 field2 allvalues |sort allvalues
It's not clear what you want the output to be. This will show all the combinations of field1 and field2 in your data.
<your search> | dedup field1 field2 | ...
Something like this:
...your search...
| stats values(field1) as f1values values(field2) as f2values
| eval allvalues=mvdedup(mvappend(f1values,f2values))
ought to work.