简体   繁体   中英

Why elasticsearch search query (when you inspect)on date is different from kibana query on date?

I used date as a field in kibana as shown below to search documents and date is between Oct 15, 2022 @ 00:00:00.000 - Oct 16, 2022 @ 00:00:00.000在此处输入图像描述

why it is different from elasticsearch query when you inspect(as shown below)? 在此处输入图像描述

In Elasticsearch all timestamps are stored in UTC timezone. Kibana by default translates timestamps into your local timezone. The interval you specified at the top is in your local timezone and this translates to the UTC timestamps shown in the query.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM