Hi
I am using dev Tools , Bellow Query works fine in Kibana Discover
log.file.path:*MY.log* AND "[COMMAND:HEARTBEAT]" AND "[CHARGING:0]"
but when i am doing the same in Dev tools, its only taking the HEARTBEAT but its showing all data where Charging 0 and 1, but I just need 0
GET filebeat-*/_search
{
"size": 1000,
"query": {
"bool": {
"must": [
{"match": { "log.file.path":"MYlog"}},
{"match": { "message": "'[COMMAND:HEARTBEAT]' AND '[CHARGING:0]'"}}
],
"filter": {
"range": {
"@timestamp": {
"gte": "now-15m"
}
}
}
}
}
}
Thanks for the help