Remove specific part of url from logstash after match


(Ramya) #1

Hi

I want to remove a specific part from url , for example i have
/documents/del/123456
/documents/del/15689
/documents/del/580867

like this , and i want to remove the number's from url so that it will be treated as single url when i do aggregation on url or visualizing its request time or response time in kibana

How could i achieve this , Please help me


(Magnus B├Ąck) #2

Use a mutate filter and its gsub option.


(system) #3

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