# How to change timestamp field added by filebeat while sending logs to output plugin

**URL:** https://discuss.elastic.co/t/how-to-change-timestamp-field-added-by-filebeat-while-sending-logs-to-output-plugin/244812
**Category:** Beats
**Tags:** filebeat
**Created:** [August 13, 2020, 7:06am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-added-by-filebeat-while-sending-logs-to-output-plugin/244812 "2020-08-13T07:06:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aksshm](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@aksshm](https://discuss.elastic.co/u/aksshm)
#### Post date: [August 13, 2020, 7:06am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-added-by-filebeat-while-sending-logs-to-output-plugin/244812/1 "2020-08-13T07:06:13Z")

</div>

Hi,

I'm running filebeat where it is fetching logs from kubernetes pods and sending to kafka.  
While fetching from kafka topic i could see filebeat is adding some fields to the logs.  
wherein one field @timestamp is coming in different timezone(utc), i want to convert that into localtimezone.

```auto
{"@timestamp":"2020-08-13T06:43:42.396Z","@metadata":{"beat":"filebeat","type":"_doc","version":"7.5.1"},"message":"{\"level\":\"debug\",\"ts\":\"2020-08-13T12:13:42.395+0530\",\"msg\":\"Device Refresh\",\"pkg\":\"ofagent\",\"ToDel\":[],\"ToAdd\":[]}","kubernetes":{"container":{"name":"x","image":"x:1.3.18"},"replicaset":{"name":"x-6c48d5c44"},"pod":{"uid":"2297d3b2-fd9a-4877-b581-e46089476d5c","name":"x-6c48d5c44-s2kzn"}},"ecs":{"version":"1.1.0"},"agent":{"id":"21f6b5b4-71d5-4a19-8341-996a66cef946","version":"7.5.1","type":"filebeat","ephemeral_id":"1e425ff5-b87d-4829-8286-4ec677b76555","hostname":"filebeat-474j4"}

```

how can we change that?

---

<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 10, 2020, 9:06am UTC](https://discuss.elastic.co/t/how-to-change-timestamp-field-added-by-filebeat-while-sending-logs-to-output-plugin/244812/2 "2020-09-10T09:06:34Z")

</div>

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