# Output to stdout of timestamp format to localtime

**URL:** https://discuss.elastic.co/t/output-to-stdout-of-timestamp-format-to-localtime/147783
**Category:** Logstash
**Created:** [September 7, 2018, 10:40pm UTC](https://discuss.elastic.co/t/output-to-stdout-of-timestamp-format-to-localtime/147783 "2018-09-07T22:40:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Savettiere](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_savettiere/32/64328_2.png) [@Michael\_Savettiere](https://discuss.elastic.co/u/Michael_Savettiere)
#### Post date: [September 7, 2018, 10:40pm UTC](https://discuss.elastic.co/t/output-to-stdout-of-timestamp-format-to-localtime/147783/1 "2018-09-07T22:40:16Z")

</div>

I simply want the timestamp from logstash and the message sent to it from filebeat. The time showing is in UTC but I want it displayed in localtime. How do I do this?  
Here is the simple pipeline configuration  
input {  
stdin {  
}  
}  
output {  
stdout {  
codec =\> line { format =\> "%{+YYYY/MM/dd HH:mm:ss:SSS ZZ} %{message}" }  
}  
}

---

<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: [October 5, 2018, 10:48pm UTC](https://discuss.elastic.co/t/output-to-stdout-of-timestamp-format-to-localtime/147783/2 "2018-10-05T22:48:36Z")

</div>

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