# How to best track changes to large numbers?

**URL:** <https://discuss.elastic.co/t/how-to-best-track-changes-to-large-numbers/22826>\
**Category:** Elasticsearch\
**Created:** [March 23, 2015, 3:02pm UTC](https://discuss.elastic.co/t/how-to-best-track-changes-to-large-numbers/22826 "2015-03-23T15:02:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Chapman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scott_chapman/32/108983_2.png) [@Scott\_Chapman](https://discuss.elastic.co/u/Scott_Chapman)\
**Post date:** [March 23, 2015, 3:02pm UTC](https://discuss.elastic.co/t/how-to-best-track-changes-to-large-numbers/22826/1 "2015-03-23T15:02:44Z")

</div>

I am currently using Kibana to kee track of kafka offsets. Offsets come in  
a triple of numbers; size (number of messages posted to topic), offset  
(where in the list the consumer is) and lag (difference between the two).

One thing I would like to be able to visualize is the increase in the size  
over time. The problem is that it is a pretty large number, and the  
increase is kinda small compared to that over any period of time.

My only options are Sum, Max, Min, Average, STD, and such. I don't see a  
good way to visualize the rate of increase, or change in the value over  
time.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1099d2b2-502e-4f9b-8576-248195e0ec41%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1099d2b2-502e-4f9b-8576-248195e0ec41%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![charlesmims](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/charlesmims/32/733_2.png) [@charlesmims](https://discuss.elastic.co/u/charlesmims)\
**Post date:** [April 30, 2015, 7:39pm UTC](https://discuss.elastic.co/t/how-to-best-track-changes-to-large-numbers/22826/2 "2015-04-30T19:39:56Z")

</div>

Did you ever find a solution to this problem?  
I've been working on a similar problem myself, wanting to show packets per second across an interface as reported by collectd; the metric as sent to logstash is a cumulative total since the machine was started. The approach I've been trying to get working is using ruby filters to subtract the previous count from the current count, set a global variable to the current count, then set the the current count to the difference of the previous and the current counts. I've had mixed results so far, but I'm blaming my lack of ruby knowledge, or possibly receiving updates out of order at this point.

---

<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 6, 2017, 12:16am UTC](https://discuss.elastic.co/t/how-to-best-track-changes-to-large-numbers/22826/3 "2017-07-06T00:16:33Z")

</div>


