How to use Elastic to effectively look for a URI corresponding to the template?

Hiccup must record the value of the data.request.uri which corresponds to the pattern /plans/:id/order, where :id - the variable number (24-digit aydishnik of MongoDB, for example).
Having tried different variants (regular season, Query string) and have not found anything more effective than stupid to find a match:
{
 "query": {
 "bool" : {
 "must": [
{
 "range" : {
 "@timestamp" : {
 "gte" : "2019-06-11T00:00:00",
 "lt" : "now"
}
}
},
{
 "match" : {
 "data.request.method" : {
 "query" : "PUT"
}
}
},
{
 "match" : {
 "data.request.uri" : {
 "query" : "order plans"
}
}
}
]
}
}
}


But this looks like a clumsy way to put it mildly.
What is in principle the most appropriate ways to search for records that match a pattern?
April 3rd 20 at 17:47
0 answer

Find more questions by tags Elasticsearch