日志-192.168.1.13-乌玛[01 / Mar / 2019:06:43:36 +0100]“ GET /etc/designs/images/Spin-1s-200px.gif HTTP / 1.1“ 304-” Uma“” gmail.de/etc/designs/components/mealListing.min.21e52d90a88cf1a2e68a16d24cf195ec.css“” Mozilla / 5.0(Windows NT 10.0; Win64; x64)AppleWebKit / 537.36(KHTML,like Gecko)Chrome / 70.0.3538.67 Safari / 537.36“ ENV-REMOTE_USER”-“ ::: ENV-RU”乌玛“
问题-我正试图为logstash编写一个grok模式,忽略所有特殊字符,仅考虑一些必需的参数。分享您的观点和建议。
预期输出-ip:192.168.1.13,User-Uma,Message-gmail.de / etc / designs / components / mealListing.min.21e52d90a88cf1a2e68a16d24cf195ec.css