I can't for the life of me figure out how to do the following.
I'm analysing some standard web logs.
I want to be able to find out when any unique IP address accesses a particular URI path more than once a second.
The starting point I have for this is as follows:
uri_path=/foo | span=1s timechart dc(clientip)
This shows me when the distinct count of IP addresses accessing this URL per 1 second intervals BUT it includes all instances where the requests are made just once during this span. I only want a distinct count of the IP addresses that requested the URL more than once in the 1 second span.
Thanks, yannK, but that doesn't quite achieve what I want: it charts data when more than one distinct client IP appears in one second. I only want to chart the count of distinct client IPs where the count of each distinct client IP is more than one.
I.e. if the above client IPs appear in one second, I want to chart "1" for that second (since 192.168.1.1 appears twice).
If the above appear in one second, I want to chart "0" for that second.