Hi
The data in my csv file is having the timestamp in format:
2019-04-11 12:00 AM
(There are 3 spaces between the date & time)
My logstash configuration for same:
filter{
date {
match => ["Time", "yyyy-MM-dd hh:mm a" ]
target => "@timestamp"
}
}
This works fine and I get the @timestamp in elasticsearch . But when I see the data in elasticsearch or kibana, I think it is picking up UTC time automatically.
For example, the event happened at 2019-04-11 12:00 AM
, in Elasticsearch, it is shown as Apr 10, 2019 @ 18:30:00.000.
Please help.