# Metric don't show any result maybe because the date pattern

**URL:** <https://discuss.elastic.co/t/metric-dont-show-any-result-maybe-because-the-date-pattern/185664>\
**Category:** Kibana\
**Created:** [June 13, 2019, 2:20pm UTC](https://discuss.elastic.co/t/metric-dont-show-any-result-maybe-because-the-date-pattern/185664 "2019-06-13T14:20:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oscar73](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oscar73/32/47634_2.png) [@Oscar73](https://discuss.elastic.co/u/Oscar73)\
**Post date:** [June 13, 2019, 2:20pm UTC](https://discuss.elastic.co/t/metric-dont-show-any-result-maybe-because-the-date-pattern/185664/1 "2019-06-13T14:20:12Z")

</div>

Hi, I have an index with this pattern on this field (had to be exactly like this, if I don't add that "+00:00", the Kibana adds/removes one hour of the date)

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d02e552fce5b5348827d2e52d42f6f7f6f1576e.png)

And I have that field on the index pattern like this too:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/2/a23ab5c5b93200964a6dc85f62e80d641f511894.png)

And in the filter of the metric too, but don't show any result and in the filter appears "01:00:00" (why?)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/e/ce341f13585256dfb0291565390c9c641f936513.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/8/88062d712cfe2f29c6edb440797d9bb9bec692d2.png)

If the index pattern or the filter aren't like that, it returns me an exception, but if they are, they don't return any result.

Can somebody help me?

---

<div class="post-metadata">

**Author:** ![Oscar73](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oscar73/32/47634_2.png) [@Oscar73](https://discuss.elastic.co/u/Oscar73)\
**Post date:** [June 18, 2019, 9:48am UTC](https://discuss.elastic.co/t/metric-dont-show-any-result-maybe-because-the-date-pattern/185664/2 "2019-06-18T09:48:34Z")

</div>

The solution was to to leave the pattern as "HH:mm:ss" in mapping, index pattern and filter and change the timezone of Kibana to "UTC" in "Management \> Kibana \> Advanced Settings \> Timezone for date formatting".

---

<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:** [July 16, 2019, 9:48am UTC](https://discuss.elastic.co/t/metric-dont-show-any-result-maybe-because-the-date-pattern/185664/3 "2019-07-16T09:48:38Z")

</div>

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