I'm trying to find a way to use tags to be used in search as such that the tag entries are cross-matched to the search. This would sound like a job for lookups but is there a way to use the tag?
I found this link (below), but I'm not sure it works for me or if I did anything wrong.
eventtype=foo [search tag::host=tagname | dedup host | fields host | rename host as foo_field]...
http://splunk-base.splunk.com/answers/1325/using-host-tags-or-similar-when-searching-on-fields
My objective: To get the same result as the search below.
eventtype=foo ip1 OR ip2 OR ip3|table foo_field field1 field2
foo_field is a field from the eventtype that would correspond to the ip1, ip2, ip3, etc.
Given: tagname: host=ip1, host=ip2, host=ip3
Except for using lookup table, any other ideas?
... View more