Skip to content

Instantly share code, notes, and snippets.

@Kxrr
Last active May 7, 2022 10:24
Show Gist options
  • Save Kxrr/637f8b6289e9b0a5300d623efe8790cb to your computer and use it in GitHub Desktop.
Save Kxrr/637f8b6289e9b0a5300d623efe8790cb to your computer and use it in GitHub Desktop.
Grok Pattern for Caddy Log
%{IP:remote} - %{USER:user} \[%{HTTPDATE:time}\] \"%{WORD:method} %{URIPATHPARAM:uripath} %{WORD:proto}\/%{NUMBER:proto_ver}\" %{NUMBER:status_code} %{NUMBER:body_length}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment