Version : Kibana 5.4.0
Kibana acknowledges 2 musts in 1 bool as an error.
It says,
Duplicate key "must" . Syntax error.
Is this illegal?
When I exectue the query , the result is returned properly.
Version : Kibana 5.4.0
Kibana acknowledges 2 musts in 1 bool as an error.
It says,
Duplicate key "must" . Syntax error.
Is this illegal?
When I exectue the query , the result is returned properly.
Yes.
"must" : [
{"match" : {"message:" "localhost"}},
{"match" : {
"range": {
"@timestamp" : {
"lt" : "now/h"
}
}
}
]
This is the proper syntax.
Thanks.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.