Hi@all, I have the requirement to parse duplicate IP's from a Linux Squid logfile. The examples shown in this threat do not work for me due to the couple of numbers in the Squid logfile. As I can not find my mistake maybe one of you guys have an idea how to fix this issue?
This is my example:
1188907856.170 361 10.44.152.201 TCP_MISS/200 369 POST
http://207.46.111.76/gateway/gateway.dll? - DIRECT/207.46.111.76 application/x-msn-messenger
1188907856.795 379 10.44.30.146 TCP_MISS/200 368 POST
http://207.46.111.55/gateway/gateway.dll? - DIRECT/207.46.111.55 application/x-msn-messenger
1188907858.319 366 10.44.209.174 TCP_MISS/200 369 POST
http://207.46.111.35/gateway/gateway.dll? - DIRECT/207.46.111.35 application/x-msn-messenger
1188907858.372 379 10.44.209.113 TCP_MISS/200 1695 POST
http://207.46.111.15/gateway/gateway.dll? - DIRECT/207.46.111.15 application/x-msn-messenger
1188907858.596 369 10.44.90.183 TCP_MISS/200 369 POST
http://207.46.111.43/gateway/gateway.dll? - DIRECT/207.46.111.43 application/x-msn-messenger
1188907858.877 415 10.44.209.113 TCP_MISS/200 582 POST
http://207.46.111.15/gateway/gateway.dll? - DIRECT/207.46.111.15 application/x-msn-messenger
1188907859.324 373 10.44.209.113 TCP_MISS/200 369 POST
http://207.46.111.15/gateway/gateway.dll? - DIRECT/207.46.111.15 application/x-msn-messenger
1188907864.115 359 10.44.18.136 TCP_MISS/200 369 POST
http://207.46.111.35/gateway/gateway.dll? - DIRECT/207.46.111.35 application/x-msn-messenger
I would like t receive something like:
1188907859.324 373 10.44.209.113 TCP_MISS/200 369 POST
http://207.46.111.15/gateway/gateway.dll? - DIRECT/207.46.111.15 application/x-msn-messenger
This IP occurred 3 times
Thanks for support in advance