GET filebeat-*/_search
{
"size":1000,
"log.file.path":"*logfile.log",
"query":{
"bool":{
"must":{
"match":{
"message":"'[COMMAND:LOG]' and '[COMMAND:1]'"
}
},
"filter":{
"range":{
"@timestamp":{
"gte":"now-15m"
}
}
}
}
}
}
I am trying to match only that log file defined in "log.file.path": "*logfile.log",
but it say
{
"error":{
"root_cause":[
{
"type":"parsing_exception",
"reason":"Unknown key for a VALUE_STRING in [log.file.path].",
"line":3,
"col":20
}
],
"type":"parsing_exception",
"reason":"Unknown key for a VALUE_STRING in [log.file.path].",
"line":3,
"col":20
},
"status":400
}