Sample Header Ad - 728x90

zgrep - Find an IP address in 1200 *.gz files

-1 votes
3 answers
120 views
I want to find out in which of my 1200 *.gz files a certain IP address occurs on a certain date (17.07.2025). I could not find the IP address in my current logs: grep 'IP address' *.logs My attempt to see if the IP even exists in the older, zipped log files returns: 'The argument list is too long'. zgrep 'IP address' * A combination of find and grep was also unsuccessful. I am grateful for any assistance.
Asked by fl1tz (1 rep)
Jul 21, 2025, 04:18 PM
Last activity: Jul 25, 2025, 06:22 AM