# How the logstash get my timezone

**URL:** https://discuss.elastic.co/t/how-the-logstash-get-my-timezone/130410
**Category:** Logstash
**Created:** [May 3, 2018, 9:12am UTC](https://discuss.elastic.co/t/how-the-logstash-get-my-timezone/130410 "2018-05-03T09:12:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chenzilong444](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)
#### Post date: [May 3, 2018, 9:12am UTC](https://discuss.elastic.co/t/how-the-logstash-get-my-timezone/130410/1 "2018-05-03T09:12:11Z")

</div>

i meet a problem when i send a timestamp to logstash it can turn it to utc .but i didn't set my timezone  
where it get it ? from my pc?  
[TimeStamp:2018-05-14 15:20:10]ddd  
{  
"@version" =\> "1",  
"MSG" =\> "ddd\r",  
"host" =\> "BIH-D-6331",  
"TimeStamp" =\> "2018-05-14 15:20:10",  
"message" =\> "[TimeStamp:2018-05-14 15:20:10]ddd\r",  
"TS" =\> 2018-05-14T07:20:10.000Z,  
"@timestamp" =\> 2018-05-03T08:23:21.824Z  
}  
why it know my timezone is +08:00

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [May 3, 2018, 9:26am UTC](https://discuss.elastic.co/t/how-the-logstash-get-my-timezone/130410/2 "2018-05-03T09:26:55Z")

</div>

The date filter defaults to the system's timezone.

---

<div class="post-metadata">

### Author: ![chenzilong444](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)
#### Post date: [May 3, 2018, 9:59am UTC](https://discuss.elastic.co/t/how-the-logstash-get-my-timezone/130410/3 "2018-05-03T09:59:57Z")

</div>

thank you

---

<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: [May 31, 2018, 10:00am UTC](https://discuss.elastic.co/t/how-the-logstash-get-my-timezone/130410/4 "2018-05-31T10:00:04Z")

</div>

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