Grok Filter Parsing

(Rahul ) #1

Hi Everyone ,

Can any one help me on some issue , below is my application logs bdrvl-pd-fif03 - - [23/Oct/2018:19:02:04 +0530] "GET /inventory/api/gis/fiberRoute?lat=12.74266438&lon=77.83363018&distance=6000 HTTP/1.1" 200 90650 "-" "okhttp/3.9.0" "-" 200 0.284 0.284

and this is grok
%{IP:client} %{HOSTNAME:host} %{NGUSER:ident} %{NGUSER:auth} [%{HTTPDATE:timestamp}] "%{WORD:method} %{NOTSPACE:request} HTTP/%{NUMBER:version}" %{NUMBER:resp_code:int} %{NUMBER:bytessent:int} "%{NGUSER:referer}" "%{GREEDYDATA:user_agent}" "%{NGUSER:forwarded}" %{IP:upstream_address}:%{NUMBER:port} %{NUMBER:status} %{NUMBER:requesttime:float} %{NUMBER:upstream_response:float}

which parse request - /inventory/api/gis/fiberRoute?lat=12.74266438&lon=77.83363018&distance=6000
where i only want to print /inventory/api/gis/fiberRoute

Can it be possible by any mean ,

(system) #2

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