I spent 3 hours trying to figure out why it wasn't loading when it turned out to be that it just can't monitor logs.
For example I'd been trying to use this as one of my rules
{
"logName": "F:/xampp/apache/logs/error.log",
"eventId": 0,
"ipAddressPattern": "\[client (?\d+\.\d+\.\d+\.\d+):\d+\]",
"failurePattern": "AH00124"
}
and it just wouldn't load. The idea was to block an exploit attempt I keep seeing pop up in my Apache error.log
Also
{
"logName": "F:/xampp/apache/logs/modsec_audit.log",
"eventId": 0,
"ipAddressPattern": ""client_ip":"(?\d+\.\d+\.\d+\.\d+)"",
"failurePattern": ""status":"218""
}
This one is to monitor modsecurity's audit log to block certain common exploit attempts I've seen come in.
But it just can't monitor log files like the original can, apparently.
I spent 3 hours trying to figure out why it wasn't loading when it turned out to be that it just can't monitor logs.
For example I'd been trying to use this as one of my rules
{
"logName": "F:/xampp/apache/logs/error.log",
"eventId": 0,
"ipAddressPattern": "\[client (?\d+\.\d+\.\d+\.\d+):\d+\]",
"failurePattern": "AH00124"
}
and it just wouldn't load. The idea was to block an exploit attempt I keep seeing pop up in my Apache error.log
Also
{
"logName": "F:/xampp/apache/logs/modsec_audit.log",
"eventId": 0,
"ipAddressPattern": ""client_ip":"(?\d+\.\d+\.\d+\.\d+)"",
"failurePattern": ""status":"218""
}
This one is to monitor modsecurity's audit log to block certain common exploit attempts I've seen come in.
But it just can't monitor log files like the original can, apparently.