1.i know Kibana always adjusts the UTC time to the browser's timezone. but is the same as via curl to elasticsearch ?
2.Logstash generates indexes based on @timestamp with UTC time, if I want to get documents from
2015-09-01 to 2015-09-02 with my timezone("Asia/Shanghai"+0800), I need to set range from 2015.08.31T16:00:00.000Z
to 2015.09.02T16:00:00.000Z for elasticsearch via curl send the range query,Correct?
if I want to get documents from
2015-09-01 to 2015-09-02 with my timezone("Asia/Shanghai"+0800), I need to set range from 2015.08.31T16:00:00.000Z
to 2015.09.02T16:00:00.000Z for elasticsearch, correct ?
if I want to get documents from
2015-09-01 to 2015-09-02 with my timezone("Asia/Shanghai"+0800), I need to set range from 2015.08.31T16:00:00.000Z
to 2015.09.02T16:00:00.000Z for elasticsearch, correct ?
Yes.
3.the return timestamp is UTC time ?
Yes, unless you ask for something else (I don't remember if that's possible). It might also be possible to indicate the timezone of the timestamp you supply in the query. Check the docs.
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.