Hi,
I am facing an unique problem. I have a server in USA which is generating with timestamp like "<Mar 16, 2018 9:11:01 AM UTC>"
Can anyone tell me how to handle UTC part? The date is already in UTC and I don't want to change the date but logstash is changing it as the server is in USA.
Right Now I am doing like :
In grok : <%{DATA:Timestamp} UTC>
So here Timestamp = Mar 16, 2018 9:11:01 AM
Then:
date {
match => [ "Timestamp",
"MMM dd, YYYY KK:mm:ss aa",
"MMM d, YYYY KK:mm:ss aa" ]
target => "@timestamp"
timezone => "UTC"
}
Now sure how to handle "UTC".
Thanks & Regards,
Debashis Adak