Created
May 7, 2020 17:01
-
-
Save damianknopp/3bcd8d35b994a7148120f8b314414858 to your computer and use it in GitHub Desktop.
simple-logstash-elk-grok.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54.xx.xxx.xxx - - [07/May/2020:13:18:12 +0000] "GET / HTTP/1.1" 200 9877 "-" "kube-probe/1.16" | |
%{IP:ip} \- \- \[%{NUMBER:day}/%{DATA:month}/%{NUMBER:year}:%{DATA:time} +%{NUMBER:offset}\] "%{WORD:method} %{URIPATH:path} %{DATA:protocol}" %{NUMBER:status} %{NUMBER:size} %{QS:dash3} %{QS:browser} | |
{ | |
"offset": "+0000", | |
"method": "GET", | |
"year": "2020", | |
"ip": "54.xx.xxx.xxx", | |
"dash3": "\"-\"", | |
"path": "/", | |
"protocol": "HTTP/1.1", | |
"month": "May", | |
"size": "9877", | |
"browser": "\"kube-probe/1.16\"", | |
"time": "13:18:12", | |
"day": "07", | |
"status": "200" | |
} | |
%{GREEDYDATA:rest} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment