Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.
Or use markdown style like:
```
CODE
```
This is the icon to use if you are not using markdown format:
There's a live preview panel for exactly this reasons.
Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.
hi David, many thanks for explaining how to format my source code earlier on this forum:
I did that, using the markdown style, so this part is fixed! cheers, Bogdan
hi David, thanks for your message: I found the equivalent line from PostgreSQL of the document 48vCtnUBQXUwojsCLuQF which is in Elasticsearch with this nice SQL query:
select * from public."AccessLogs"
where "EmployeeId" = 886
and "AccessTime" >= '17-Aug-2020'::date
and "AccessTime" < '18-Aug-2020'::date
order by "AccessTime" desc;
so David, I think we are very close to the solution with the above analysis:
please help us to understand and pinpoint the exact root cause for this!
thanks & greetings from Bucharest, Bogdan
I pasted 2020-08-17 09:05:54 (Bucharest TZ) in a TZ converter.
And I got: 2020-08-17T06:05:54 UTC Timezone.
So here is what I can say from this. Everything looks good from Elasticsearch point of view. The date indexed in elasticsearch is 2020-08-17 09:05:54 GMT+3 which is correct.
So there is nothing wrong here.
I can see that you now see a problem in Kibana, right?
Knowing that there's no issue in the date representation in Elasticsearch, I'd suggest to either move this question to #elastic-stack:kibana or open a new question (which I'd encourage you to do) to see if there is an option or something wrong.
Remember that Kibana AFAIK is using the browser configuration to display data.
hi David, thanks for your post earlier, regarding the analysis you have done, to show that there is no issue on the date representation in Elasticsearch: this is very good to hear, so we will close this issue here: thanks again and greetings from Bucharest!
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.