No worries, the problem was with my communication not your understanding! Let me try to explain in a more digestible way. I have a search that checks for specific commands. IE: I want it to return all information where value = 1, 2, 3 The search specifically looks for values that are 1, 2, or 3, and when it finds those values, they also contain the msg field which can contain x, y, or z. The problem is, if I were to code: | where value==1 AND msg==x OR msg==y I'm excluding a large portion of the potential returned results of the search because now I'm only checking for value=1 and msg=x, y. So for the search: index=* sourcetype=* (value=1 OR value=2 OR value=3) AND (msg=x OR msg=y OR msg=z) I want my drilldown to show me specifics for each value, essentially, but not to exclude from the original search the potential for different values to be returned with their respective msg. So, I need the search to dynamically understand that ONLY IF value=1, should it exclude msg=x, y. But, if value=2 the search should still return msg where msg ANY of x, y, z. Programmatically it'd look like: if(value==1):
exclude(x, y)
else:
include(x, y, z) Still not sure if that makes sense and I understand it's hard to conceptualize without the actual search, so I appreciate the help.
... View more