Hi,
I try to understand how I can do search with a regex. I read that : https://www.elastic.co/guide/en/elastic ... query.html
I try to use a query like the screenshoot and like the example under.
{
"regexp": {
"message": {
"value": "AW.......E"
}
}
}
I don't find the way to do it.
Help!
ElasticSearch regex search
ElasticSearch regex search
You do not have the required permissions to view the files attached to this post.
Re: ElasticSearch regex search
It looks like you are defining regular expressions within filters, which is a much different process than defining regular expressions within queries.
If you're just looking to search a field using a regular expression, change the search type from lucene to regex and plug the regex into the search bar:
If that doesn't work, could you share some sample messages as well as the regex you are trying to match?
If you're just looking to search a field using a regular expression, change the search type from lucene to regex and plug the regex into the search bar:
If that doesn't work, could you share some sample messages as well as the regex you are trying to match?
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/