Grok Pattern Tester

Build and test Logstash / Grok patterns against sample log lines with live field extraction.

Runs 100% in your browser. Nothing you enter is uploaded or stored.

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
client192.168.1.24
methodGET
path/api/v1/health
status200
10.0.0.5 POST /login 401
client10.0.0.5
methodPOST
path/login
status401
malformed line here
no match

Related tools

From the makers of these tools

Run production tasks with agents you can trust.

BitSentry turns recurring investigations into reusable runbooks your agents follow step by step, with AI-explained evidence and a full audit trail.

Try BitSentry Desktop Free