I'm trying to filter down a heap of apache log files to EXCLUDE all requests that have:
- The pattern
/static/(this is my images/js folder that I want to exclude) 10.xxx.xxx.xxx(where x is any number - I don't want internal requests included)- Any response other than
"GET / HTTP/1.1" 200- only want successes
I have a folder containing multiple .gz files. Is there a way to run a linux command that will do the proper filtering and save the results in a file called apache_log.txt?
I'm really limited in my linux knowledge so will appreciate any help greatly!