# Need help tracking down a time adjustment issue

**URL:** <https://discuss.elastic.co/t/need-help-tracking-down-a-time-adjustment-issue/39562>\
**Category:** Elasticsearch\
**Created:** [January 19, 2016, 4:05pm UTC](https://discuss.elastic.co/t/need-help-tracking-down-a-time-adjustment-issue/39562 "2016-01-19T16:05:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wdienst](https://avatars.discourse-cdn.com/v4/letter/w/8edcca/32.png) [@wdienst](https://discuss.elastic.co/u/wdienst)\
**Post date:** [January 19, 2016, 4:05pm UTC](https://discuss.elastic.co/t/need-help-tracking-down-a-time-adjustment-issue/39562/1 "2016-01-19T16:05:20Z")

</div>

Hey, guys. Thanks for reading. I have logs coming from a Windows event, pulled in by logstash-forwarder and sent to Logstash, where it is then sent to Elasticsearch 2.0.

I have an input as follows:

> ```
> tcp {
> codec => json_lines
> port => 5100
> type => "eventlog"
> }
> 
> ```

And a filter:

> ```
> grok {
> match => ["Message", "TransactionID=%{UUID:TransactionID},TransactionRole=%{WORD:TransactionRole},TransactionType=%{WORD:TransactionType},ModalityName=%{WORD:ModalityName},SystemName=%{WORD:SystemName},RequestTimestamp=%{TIMESTAMP_ISO8601:RequestTimestamp},Duration=%{BASE10NUM:Duration}"]
> }
> 
> ```

And an output:

> ```
> elasticsearch {
> hosts => "10.xxx.xxx.xxx"
> index => "logstash-myindex-%{+YYYY.MM.dd}"
> }
> 
> ```

An example message looks like:

> TransactionID=placeholder,TransactionRole=Server,TransactionType=ITI\_8,ModalityName=placeholder,SystemName=placeholder,RequestTimestamp=2016-01-19T09:08:28,Duration=171.6033

This creates a separate date field (besides @timestamp) named RequestTimestamp with "2016-01-19T09:08:28." However, in Kibana 4, RequestTimestamp shows up as "January 19th 2016, 03:08:28.000," even with the timezone setting is on "browser." Also in Kibana, the original time in the message shows "2016-01-19T09:08:28." So my question is, where is the offset getting applied and how do I compensate? It looks like it's being converted to UTC twice...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 20, 2016, 9:43pm UTC](https://discuss.elastic.co/t/need-help-tracking-down-a-time-adjustment-issue/39562/2 "2016-01-20T21:43:08Z")

</div>

LS assumes UTC by default, as does ES.  
KB reads that (so assumes UTC) but converts to local to display it.

Are your logs coming in as UTC?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:22pm UTC](https://discuss.elastic.co/t/need-help-tracking-down-a-time-adjustment-issue/39562/3 "2017-07-05T23:22:53Z")

</div>


