Yes, the problem is because when the histogram encounters buckets with no data it assumes zero values instead of joining the points between the 2 interval.
I solved it by using a different kibana version, I effectively found 2 patches one with a zero-fill checkbox and another one with an option box. I found just one of them: https://github.com/elasticsearch/kibana/issues/741 Both versions solve the problem. That’s the way I solved it. Hope that helps /Itzhak From: [email protected] [mailto:[email protected]] On Behalf Of Xwilly Azel Sent: Thursday, March 20, 2014 9:12 AM To: [email protected] Subject: Re: Kibana Histogram unexpected line curve with cumulative value I've got the same kind of issue. Did you find a solution ? On Monday, March 10, 2014 3:58:21 PM UTC+1, Isaac Hazan wrote: Kibana cannot do a the Histogram of the cumulative value of a field as describe at: <https://github.com/elasticsearch/kibana/issues/740> https://github.com/elasticsearch/kibana/issues/740 To overcome that I created a separate index where I calculate myself the total and saved it to Elasticsearch. The mapping looks as follows: curl -XPOST localhost:9200/first_install -d '{ "settings" : { "number_of_shards" : 5 }, "mappings" : { "fi" : { "properties" : { "evtTime" : { "type" : "date", "index": "not_analyzed", "format": "dd/MMM/yyyy:HH:mm:ss" }, "cumulativeValue" : { "type" : "integer", "index": "not_analyzed" } } } } }' The values are saved properly but unexpectedly Kibana does not draw the line i would expect, instead it joins between point that do not exist. Following is the Kibana sreenshot: The line curve should always be increasing since my data set is always increasing, that i can prove by the following events as seen by kibana itself: Could it be related to the data formatting I did? Thx in advance. -- You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/mp2hUkR8U6w/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9fe1f350-c5fb-47f2-8925-2d52b7376d94%40googlegroups.com <https://groups.google.com/d/msgid/elasticsearch/9fe1f350-c5fb-47f2-8925-2d52b7376d94%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/003501cf440d%242c2ec540%24848c4fc0%24%40gmail.com. For more options, visit https://groups.google.com/d/optout.
