# Persist the date and time into Cloudwatch as field

**URL:** <https://community.influxdata.com/t/persist-the-date-and-time-into-cloudwatch-as-field/26122>\
**Category:** Telegraf\
**Created:** [August 15, 2022, 7:03pm UTC](https://community.influxdata.com/t/persist-the-date-and-time-into-cloudwatch-as-field/26122 "2022-08-15T19:03:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![girish\_babu](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/girish_babu/32/10734_2.png) [@girish\_babu](https://community.influxdata.com/u/girish_babu)\
**Post date:** [August 15, 2022, 7:03pm UTC](https://community.influxdata.com/t/persist-the-date-and-time-into-cloudwatch-as-field/26122/1 "2022-08-15T19:03:54Z")

</div>

Hello all,

I have python program outputs the field value as “2022-08T13:44:25+0.00” which converting this value into epoch and then nano secs. The value is getting persisted in cloud watch. But I am not able to plot graph (time series) against the field and other tags.

What is the expected format persist the date and time. ? Anyone recommend me please ?

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [August 15, 2022, 9:43pm UTC](https://community.influxdata.com/t/persist-the-date-and-time-into-cloudwatch-as-field/26122/2 "2022-08-15T21:43:26Z")

</div>

Hello @girish_babu,  
I’m confused you’re using python and Cloudwatch?  
I this doesn’t seem to be a question related to InfluxDB or Telegraf at all. Id recommend reaching out to the respective communities.

---

<div class="post-metadata">

**Author:** ![girish\_babu](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/girish_babu/32/10734_2.png) [@girish\_babu](https://community.influxdata.com/u/girish_babu)\
**Post date:** [August 15, 2022, 9:57pm UTC](https://community.influxdata.com/t/persist-the-date-and-time-into-cloudwatch-as-field/26122/3 "2022-08-15T21:57:54Z")

</div>

Hi @Anaisdg

I am using Telegraf plugin [[inputs.exec]] which calls python program and it prints date and time as field value. I am interested to know what format I need to convert it so that i can view that value in Grafana.

I hope this clear to you.

thanks

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [August 16, 2022, 4:52pm UTC](https://community.influxdata.com/t/persist-the-date-and-time-into-cloudwatch-as-field/26122/4 "2022-08-16T16:52:16Z")

</div>

Hello @girish_babu,  
But you’re writing the data to Cloudwatch?  
That would be a Cloudwatch question then. I can help with issues related to telegraf or writing data to InfluxDB.
