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.
Ex:
Logs: (field name: request)
/v3.0/customers/abcd-efg-hij/sites/abcd-efg-hij/nodes
/v3.0/customers/abcd-efg-hij/sites/abcd-efg-hij/nodes/limit/1
/v3.0/customers/abcd-efg-hij/sites/abcd-efg-hij/nodes/details
/v3.0/customers/abcd-efg-hij/sites/abcd-efg-hij/nodes
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:
request:/.*nodes$/
But this returns all 4 whereas it should have returned 2(/v3.0/customers/abcd-efg-hij/sites/abcd-efg-hij/nodes)