Closed dnlldl closed 1 year ago
Seems to work with the following:
^(?:\S+\s+)+\[(?P<date>[^\]]+) \+\d\d\d\d\]\s+"[^"]*"\s+(?P<status>\d+) # original
^(?:\S+\s+)+\[(?P<date>[^\]]+) \-\d\d\d\d\]\s+"[^"]*"\s+(?P<status>\d+) # modified
Had to change it directly in the code however, in WATO when I save the regex just disappears (?).
The default regex doesn't work with my version of Apache apparently.
Default regex:
Example log:
Toying around with regex I'm able to capture the 2 groups with the following but I'm not sure what to do next with
<date>
and<status>
:Any help would be appreciated.