Empty values and reload

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 :blush:

Thanks

Anyone can help me on this?

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