Setting up date plugin with Delhi timezone

Hello,

I'm trying to set up the @timestamp based on a log date. The date in the log is in Delhi timezone but the one stored in the @timestamp (or another field created to store it) is in London timezone.

Here is my logstash configuration:
filter { date { match => [ "01_date , "YYYY-MM-dd HH:mm:ss.SSS"] timezone => "Asia/Kolkata" } }

I even tried with the locale => "inc"

None of them worked. Can someone help?

Thanks,
Noemie

The @timestamp field is always UTC. Kibana will by default adapt to the browser's timezone.

Ok. Thank you :slight_smile:

Hello ,you mean it works nothing to convert logstash default time utc to local timezone? Is there any way to solve this problem?thx

Hello,

The only thing here, for me, was to change my browser settings to Delhi timezone. When you try to convert in Logstash, it won't change a thing for Kibana. I did not try a convert using a mathematical operation on the date to add the jet lag depending on the timezone specified in the log or in the date filter. Maybe it can work but I'm not sure at all :confused:

1 Like