I need to parse Apache log file to look for specific suspicious patterns (like SQL injections).
For example I'm looking for
I am using grep to check the log file for this pattern (and others) and because these logs are huge it takes a long amount of time
Here my command:
grep 'id=' Apache.log | egrep "' or|'%20"
Is there a better or a faster method or command I need use to make the search faster?