How to get url path using logstash on elasticsearch
问题 I have tested using my configuration of logstash 127.0.0.1 - - [02/Jun/2016:15:38:57 +0900] "GET /ad/adInfos?id=1 HTTP/1.1" 404 68 filter { grok { match => { "message" => "%{COMMONAPACHELOG}" } } } It's working as below { "message" => "127.0.0.1 - - [02/Jun/2016:15:39:02 +0900] \"POST /ad/signIn?id=1 HTTP/1.1\" 200 26", "@version" => "1", "@timestamp" => "2016-06-02T06:39:02.000Z", "path" => "/opt/node-v4.3.1/logs/access.log", "host" => "0.0.0.0", "clientip" => "127.0.0.1", "ident" => "-",