# Empty values and reload

**URL:** <https://discuss.elastic.co/t/empty-values-and-reload/195529>\
**Category:** Elasticsearch\
**Created:** [August 16, 2019, 4:14pm UTC](https://discuss.elastic.co/t/empty-values-and-reload/195529 "2019-08-16T16:14:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Felgueiras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_felgueiras/32/48474_2.png) [@A\_Felgueiras](https://discuss.elastic.co/u/A_Felgueiras)\
**Post date:** [August 16, 2019, 4:14pm UTC](https://discuss.elastic.co/t/empty-values-and-reload/195529/1 "2019-08-16T16:14:31Z")

</div>

Hi,

I am loading datas into Elastic (stats from LDAP) and I am facing 2 problems :

- When, for some reasons, my stats are not generating for a day, a json with no values is pushed to Elastic, and on my dashboard a dot pointing to zero breaks my line chart. How can I configure my visualize not to display values when they are zero/null?

- If I want to generate these stats manually and push it to Elastic to fix the dot at zero issue, how can I reload it ? For now, I tried it and it doesn't work, like if it was not aware that the file changed.

I have created only one index for now, for all my docs.

And this is an example of my json :

```
{ "dateofextract":"", "datestart":"", "datestop":"", "logtype":"ldap_stats", "number_opened_connections":2301956, "number_bind":2934280, "number_unbind":2003083, "number_search":91438500, "number_add":5729, "number_delete":5701, "number_modify":50821, "number_directory_manager_binds":10403 }
{ "dateofextract":"", "hostname":"hostname1", "ip":"10.219.133.156", "nb_conn":114210 }
{ "dateofextract":"", "hostname":"hostname2", "ip":"100.78.119.103", "nb_conn":97498 }
{ "dateofextract":"", "hostname":"hostname3", "ip":"100.78.119.21", "nb_conn":97058 }
{ "dateofextract":"", "hostname":"hostname4", "ip":"100.78.161.163", "nb_conn":71513 }
{ "dateofextract":"", "hostname":"hostname5", "ip":"100.78.0.98", "nb_conn":62482 }

```

I'm noob in ELK, so please be nice with me 😊

Thanks

---

<div class="post-metadata">

**Author:** ![A\_Felgueiras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_felgueiras/32/48474_2.png) [@A\_Felgueiras](https://discuss.elastic.co/u/A_Felgueiras)\
**Post date:** [August 19, 2019, 3:17pm UTC](https://discuss.elastic.co/t/empty-values-and-reload/195529/2 "2019-08-19T15:17:48Z")

</div>

Anyone can help me on this?

---

<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 16, 2019, 3:17pm UTC](https://discuss.elastic.co/t/empty-values-and-reload/195529/3 "2019-09-16T15:17:48Z")

</div>

Closed on September 16, 2019, 3:17pm UTC

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