How to parse the logs from docker to logstash


(Abdur Raqeeb) #1

Need to parse the below logs from docker.Please check and let me know how to parse this below logs to my logstash via logstash forwarder

ubuntu@host:~$ docker logs -f smap-archiver
2018-01-31 16:40:25+0530 [-] "IP" - - [31/Jan/2018:11:10:24 +0000] "POST /add/FWvkZzkpFgMeuYubdhr3Et7ubKPollp2cYJd HTTP/1.1" 200 - "-" "-"
2018-01-31 16:40:25+0530 [-] "IP" - - [31/Jan/2018:11:10:24 +0000] "POST /add/FWvkZzkpFgMeuYubdhr3Et7ubKPollp2cYJd HTTP/1.1" 200 - "-" "LuaSocket 3.0-rc1"
2018-01-31 16:40:25+0530 [-] "IP" - - [31/Jan/2018:11:10:24 +0000] "POST /add/FWvkZzkpFgMeuYubdhr3Et7ubKPollp2cYJd HTTP/1.1" 200 - "-" "-"
2018-01-31 16:40:25+0530 [-] "IP" - - [31/Jan/2018:11:10:24 +0000] "POST /add/FWvkZzkpFgMeuYubdhr3Et7ubKPollp2cYJd HTTP/1.1" 200 - "-" "-"


(Abdur Raqeeb) #2

Any update on this ??
Please ...


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.