# Serial Diff in Visual Builder

**URL:** <https://discuss.elastic.co/t/serial-diff-in-visual-builder/156886>\
**Category:** Kibana\
**Created:** [November 15, 2018, 2:18pm UTC](https://discuss.elastic.co/t/serial-diff-in-visual-builder/156886 "2018-11-15T14:18:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![1862347ba9566e72a47d](https://avatars.discourse-cdn.com/v4/letter/1/cdc98d/32.png) [@1862347ba9566e72a47d](https://discuss.elastic.co/u/1862347ba9566e72a47d)\
**Post date:** [November 15, 2018, 2:18pm UTC](https://discuss.elastic.co/t/serial-diff-in-visual-builder/156886/1 "2018-11-15T14:18:03Z")

</div>

There are constantly increasing numerical data. To monitor need to get the difference between the two events. For this is used **serial diff**.  
When I draw a graph in a widget, it turns out the jumps on the graph in the positive and negative direction (this happens when I restart the logstash and the data for some time ceases to flow into elastic). Histogram builds on @timestamp  
How to fix these jumps on the chart? They incorrectly display statistics.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9c6d46298e78a49be3f3dce920ad09898be4ddd0.png)

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 16, 2018, 4:12am UTC](https://discuss.elastic.co/t/serial-diff-in-visual-builder/156886/2 "2018-11-16T04:12:25Z")

</div>

@simianhacker - is this possible, any help here ?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [November 16, 2018, 4:55pm UTC](https://discuss.elastic.co/t/serial-diff-in-visual-builder/156886/3 "2018-11-16T16:55:22Z")

</div>

@1862347ba9566e72a47d How does it look when you use "derivative" instead of "serial diff", probably the same when you use a lag of 1. Are you only concerned about the negative spikes? or are the positive spikes an issue too? I would think that the positive spikes are happening because they are real and the negatives are only on the counter reset.

---

<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:** [December 14, 2018, 5:04pm UTC](https://discuss.elastic.co/t/serial-diff-in-visual-builder/156886/4 "2018-12-14T17:04:58Z")

</div>

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