Hi. I have a quite tricky requirement and hope to get some input for a efficient solution.
I use a haproyx in front of a streaming server. The access log, in json format, writes out the http request to syslog which is this plugin https://github.com/influxdata/telegraf/tree/release-1.14/plugins/inputs/syslog Now I tried with https://github.com/influxdata/telegraf/tree/release-1.14/plugins/processors/dedup to get unique IP's but that's quite unprecise. I though maybe the peers could help me when I yust add the client IP with the URL but I'm not sure if I can query the peers store in a efficient way. The target is to know how much concurrent IP's request the a specific URL. Could lua be a solution. Thanks for any ideas. Best regards Aleks