2017-06-25 01:00:00 should may be something like 2017-06-25T01:00:00.
But it would be better if you can test it first with Kibana Dev Console and then if it works, try to fix the PHP problem itself.
If it does not work, share the Kibana script.
I am getting this error :
PHP Fatal error: Uncaught exception 'Elasticsearch\Common\Exceptions\BadRequest400Exception' with message '{"error":{"root_cause":[{"type":"parsing_exception","reason":"no [query] registered for [filter]","line":1,"col":36}],"type":"parsing_exception","reason":"no [query] registered for [filter]","line":1,"col":36},"status":400}'
Thanks man, it worked. And one more thing if I need to search a particular word in a particular field in a date range, how should I write the query then?
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.