It depends on what you're doing. Obviously, Splunk isn't able to read your mind and show you what you want, so you'll have to communicate it somehow. If there's a way to group those items by some method, that should do it, but if they're very unique and subject to your whim at the moment of search, you'll probably have to specify everything explicitly. Can you give some examples of the data and how you would imagine making this more terse?
Obviously, you can use wildcards to search, so if what you're searching for is similar it could be as simple as:
myfield=*val*
It may be possible to use a lookup:
myfield,newfield
someval,1
otherval,1
lastval,0
with a search:
... newfield=1 | ...
It's also possible to do something similar with regular expressions:
... | eval newfield=if(match(myfield, "^...$"), 1, 0)
And there's a cidrmatch() function for eval as well.
... View more