Search for the logs till specific pattern in Kibana 5.x

I have been using ELK Stack and I send some various logs of different components to the Kibana under same index. I want to search data till some specific pattern. I tried using regex but that didn't work.

Logs: (field name: request)

Now in Kibana I want to search only for those logs that are till nodes. So the count should return '2' not 4

I used this regex pattern:
But this returns all 4 whereas it should have returned 2(/v3.0/customers/abcd-efg-hij/sites/abcd-efg-hij/nodes)

I would recommend using the path hierarchy tokenizer on this field.

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