# Heartbeat indexing not UTC

**URL:** <https://discuss.elastic.co/t/heartbeat-indexing-not-utc/214706>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [January 11, 2020, 3:33pm UTC](https://discuss.elastic.co/t/heartbeat-indexing-not-utc/214706 "2020-01-11T15:33:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard\_N](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@richard\_N](https://discuss.elastic.co/u/richard_N)\
**Post date:** [January 11, 2020, 3:33pm UTC](https://discuss.elastic.co/t/heartbeat-indexing-not-utc/214706/1 "2020-01-11T15:33:17Z")

</div>

Logstash indexes UTC, im +5hours UTC so at 8pm every night a new index is started for the next day. Im also using Grafana which is UTC, after 8 it's looking for the next day pattern but the problem is heartbeat isn't UTC by default when indexing straight to elastic.

How do I get heartbeat to write UTC and roll the indices like logstash does?

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [January 13, 2020, 6:18pm UTC](https://discuss.elastic.co/t/heartbeat-indexing-not-utc/214706/2 "2020-01-13T18:18:22Z")

</div>

Hi @richard_N,

A couple of requests to get us started debugging this issue:

1. What version of Heartbeat are you running?

2. Could you share your complete `heartbeat.yml`, with any sensitive information masked out before posting?

3. Could you post the output of calling the following API against Elasticsearch? `GET _cat/indices/heartbeat*`?

4. Could you post the output of calling the following API against Elasticsearch? `GET _template/heartbeat*`?

Thanks,

Shaunak

---

<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:** [February 10, 2020, 6:18pm UTC](https://discuss.elastic.co/t/heartbeat-indexing-not-utc/214706/3 "2020-02-10T18:18:25Z")

</div>

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