Grok Pattern Tester
Build and test Logstash / Grok patterns against sample log lines with live field extraction.
Compiled regex
(?<client>(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)) (?<method>\b\w+\b) (?<path>(?:/[A-Za-z0-9$.+!*'(){},~:;=@#%&_\-]*)+) (?<status>[+-]?(?:[0-9]+(?:\.[0-9]+)?))192.168.1.24 GET /api/v1/health 200
| client | 192.168.1.24 |
| method | GET |
| path | /api/v1/health |
| status | 200 |
10.0.0.5 POST /login 401
| client | 10.0.0.5 |
| method | POST |
| path | /login |
| status | 401 |
malformed line here
no matchPut this check in a runbook.
BitSentry runs the same checks every time and keeps each output.