# Kibana, Zero for null values

**URL:** <https://discuss.elastic.co/t/kibana-zero-for-null-values/136856>\
**Category:** Kibana\
**Created:** [June 21, 2018, 12:36pm UTC](https://discuss.elastic.co/t/kibana-zero-for-null-values/136856 "2018-06-21T12:36:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Akram](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmed_akram/32/32535_2.png) [@Ahmed\_Akram](https://discuss.elastic.co/u/Ahmed_Akram)\
**Post date:** [June 21, 2018, 12:36pm UTC](https://discuss.elastic.co/t/kibana-zero-for-null-values/136856/1 "2018-06-21T12:36:09Z")

</div>

I have a simple question, I'm using ELK stack to plot some graphs with data from my logs. Now if the metrics I'm logging stopped sending to Elasticsearch and the queries are getting no values for certain time-windows, then my graphs are empty.

Is there a way to set the values to 0 for these metrics when they're missing in Elasticsearh?

---

<div class="post-metadata">

**Author:** ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)\
**Post date:** [June 21, 2018, 7:19pm UTC](https://discuss.elastic.co/t/kibana-zero-for-null-values/136856/2 "2018-06-21T19:19:29Z")

</div>

Hi Ahmed,

Please check out these resources

- Sparse timeseries might answer your question: [https://www.elastic.co/blog/sparse-timeseries-and-timelion](https://www.elastic.co/blog/sparse-timeseries-and-timelion)
- A bit of background on how we deal with 'null' + the issue for improving it: [https://github.com/elastic/kibana/issues/17717](https://github.com/elastic/kibana/issues/17717)

---

<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 19, 2018, 7:19pm UTC](https://discuss.elastic.co/t/kibana-zero-for-null-values/136856/3 "2018-07-19T19:19:34Z")

</div>

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