|
I have an index where events contain a source IP and a URL destination field. I would like to construct a query that would show commonality in events. I would like to search multiple IPs and have my search return only URLs that have been contacted by all of those IPs. I had constructed my search like so, for only two IPs:
By my thinking, this would return only the URL fields where there was commonality found between the results of the two subsearches here. It's not working. I can do a subsearch that does this easily enough when it's only two hosts...but in practice, I will need the results for far more than two hosts. Here's my subsearch-based solution for two hosts, which works well:
Thanks! |
|
Using I'd use
You can then pipe the results of this to thanks! Much appreciated.
(17 Aug '10, 19:51)
rgonzale6
|
|
Just an idea for a different approach:
which would reduce the events to those with IPs you're interested in before computing number of distinct ip addresses per url, and then filtering the results to only those that has been accessed by all IPs. It can easily expanded to more IPs:
thanks! Appreciate your response.
(17 Aug '10, 19:52)
rgonzale6
|
