Hi,
I have below configuration to logstash indexer.
 grok {
                 match => { "message" => "%{TIMESTAMP_ISO8601:logTime}" }
         }
log message:
2017-06-02 08:28:59,335 | INFO acknowledgeMessages Acknowledging 1 messages up to message id ID:43bf1b4f-59c7-311d-a661-fe4978998ac3
As per the indexer configuration, expected logTime field value should be : 2017-06-02 08:28:59,335
However, When I get query, it shows 2017-06-02T05:28:59.335Z. Exactly 3 hours less than actual time. All the servers are in same timezone. Logstash/elasticsearc/Kibana browser
"_source":
                {
                    "@timestamp": "2017-06-02T05:29:04.072Z",
                    "Application": "myApp",
                   "beat":
                    {
                    },
                    "count": 1,
                    "message": "2017-06-02 08:28:59,335 | INFO  acknowledgeMessages Acknowledging 1 messages up to message id ID:43bf1b4f-59c7-311d-a661-fe4978998ac3.",
                    "offset": 820439,
                    "source": "/var/log//wrapper_20170602.log",
                    "type": "info",
                    "@version": "1",
                    **"logTime": "2017-06-02T05:28:59.335Z"**
                }
its not problem for KIbana. In Kibana it shows me correct value as expected: 2017-06-02 08:28:59,335
Its creating problem for me when I set up elastalert over it. When I receive an email from elastalert, it shows the time stored in ES.
logTime: 2017-06-02T05:28:59.335Z.  This creates confusion to the recipient,  because actual timestamp is message is  "2017-06-02 08:28:59,335" and it shows 3 hours less than it.
Can anybody tell me whats happening over here? What changes I have to do?
 This made possible to change logTime back to local timezone from UTC.
 This made possible to change logTime back to local timezone from UTC.