I am getting logs from Elasticsearch and I need to filter out only specific logs using
Grafana regex commands.
This below is a part of of how my logs looks like:
What I want is to only get the string that ends with assignment
regex I am using is: egex pattern: data.URL:"*/.[assignments]/"
regex doesn’t wrk properly as it outputs logs ends with /assignments and ends with assignments/
What I want is:
1. Regex pattern to get logs only ends with assignments (i.e. /assignments)
2. Regex pattern to get logs that ends with assignments followed by some id (i.e. /assignments/1qa3feaa
Can someone please provide a solution for this?