Hi Bellow Search provides me Log where it has both "value": "HB" and "value": "1234567"
What I am looking for this if this match
("value": "HB" OR "value": "TR" ) AND "value": "1234567"
but not understand how to do in bellow ,
GET _search
{
"query": {
"bool": {
"must": [
{
"match": {
"log.file.path": "mylog.log"
}
},
{
"term": {
"GPS-LOG.COMMAND": {
"value": "HB"
}
}
},
{
"term": {
"GPS-LOG.IMEI": {
"value": "1234567"
}
}
}
],
"filter": {
"range": {
"@timestamp": {
"gte": "now-10m"
}
}
}
}
}