Insert into opensearch with future date

my date of computer is 26 jun, and it’s equivalent 26-06.
When I query with
select @timestamp from fortigate-logs-2024.06.26 limit 2;
I get the following result:
2024-07-04 17:52:37.617
2024-06-29 13:27:47.255

I don’t understand why opensearch insert future date into database.
How can I fix it?

By the way, I see correct date and time in discover.

Do you know any solution to write logstash into opensearch with correct date and time?

Hi @m_pahlevanzadeh,

Have you checked the time on your nodes for Logstash and OpenSearch? Also, could you let me know how you installed OpenSearch and Logstash?