# IIS logs and timezone

**URL:** <https://discuss.elastic.co/t/iis-logs-and-timezone/194948>\
**Category:** Beats\
**Tags:** beats-module, filebeat\
**Created:** [August 13, 2019, 3:43am UTC](https://discuss.elastic.co/t/iis-logs-and-timezone/194948 "2019-08-13T03:43:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajsolanki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajsolanki/32/86859_2.png) [@rajsolanki](https://discuss.elastic.co/u/rajsolanki)\
**Post date:** [August 13, 2019, 3:43am UTC](https://discuss.elastic.co/t/iis-logs-and-timezone/194948/1 "2019-08-13T03:43:15Z")

</div>

Guys really sorry if this is a repeat Question. I have searched and read almost all the posts on timezone and iis. but i m not able to fix my issue. I guess i m overthinking 🙂 so here is my setup.

windows filebeat sending IIS logs-- logstash -- elastic server.

issue is IIS logs are in UTC . I want them to show up in kibana in CST. so after reading tons of posts this is what i tried .

on filebeat in filebeat.yml i have added  
processors:

- add\_locale:  
format: offset

in logstash i have tried 3 options of timezone one by one and none works.

date {  
timezone =\> "-05:00"  
# timezone =\> "US/Central"  
# timezone =\> "America/Chicago"  
match =\> ["log\_timestamp", "YYYY-MM-dd HH:mm:ss", "ISO8601"]  
target =\> "@timestamp"  
}

so IIS log has

2019-08-13 03:31:37 XX.X.XXX.XX GET

in logstash file out put it shows as 2019-08-13 03:31:37 and @timestamp is of course 2019-08-13 03:31:37.

I want data to be ingested in my elastic as 2019-08-13 03:31:37 -05:00 i.e 2019-08-12 22:31:37.

what am i missing ?

---

<div class="post-metadata">

**Author:** ![rajsolanki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajsolanki/32/86859_2.png) [@rajsolanki](https://discuss.elastic.co/u/rajsolanki)\
**Post date:** [August 14, 2019, 2:28pm UTC](https://discuss.elastic.co/t/iis-logs-and-timezone/194948/2 "2019-08-14T14:28:47Z")

</div>

i solved it. Just had to add timezone UTC and that some how has fixed it.

---

<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:** [September 11, 2019, 2:28pm UTC](https://discuss.elastic.co/t/iis-logs-and-timezone/194948/3 "2019-09-11T14:28:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
