# CSV Export wrong @timestamp

**URL:** <https://discuss.elastic.co/t/csv-export-wrong-timestamp/248259>\
**Category:** Kibana\
**Created:** [September 11, 2020, 3:57am UTC](https://discuss.elastic.co/t/csv-export-wrong-timestamp/248259 "2020-09-11T03:57:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvtang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvtang/32/83160_2.png) [@kvtang](https://discuss.elastic.co/u/kvtang)\
**Post date:** [September 11, 2020, 3:57am UTC](https://discuss.elastic.co/t/csv-export-wrong-timestamp/248259/1 "2020-09-11T03:57:33Z")

</div>

Hi all,

I have a date filter in logstash as below :

```auto
date {
   match => ["[@metadata][timestamp]", "ISO8601"]
   timezone => "Asia/Kuala_Lumpur"
}

```

However, when I try to export into CSV, the @timestamp field is always in UTC time.  
Is there any way I can show it in Asia/Kuala\_Lumpur time?

Thanks

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [September 14, 2020, 10:45am UTC](https://discuss.elastic.co/t/csv-export-wrong-timestamp/248259/2 "2020-09-14T10:45:10Z")

</div>

Hello

There is a bug like this: [https://github.com/elastic/kibana/issues/56497](https://github.com/elastic/kibana/issues/56497)  
So you will have to change the `dateFormat:tz` setting in Advanced Settings in your Kibana instance, then the CSV export will take that timezone in consideration when exporting the data.

---

<div class="post-metadata">

**Author:** ![kvtang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvtang/32/83160_2.png) [@kvtang](https://discuss.elastic.co/u/kvtang)\
**Post date:** [September 17, 2020, 12:35am UTC](https://discuss.elastic.co/t/csv-export-wrong-timestamp/248259/3 "2020-09-17T00:35:07Z")

</div>

Hi Marius\_Dragomir,

Thanks for the input! It works when I change the `dateFormat:tz` setting!

---

<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 15, 2020, 12:35am UTC](https://discuss.elastic.co/t/csv-export-wrong-timestamp/248259/4 "2020-10-15T00:35:14Z")

</div>

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