# Marvel shows sporadic indexing activity - is this correct?

**URL:** <https://discuss.elastic.co/t/marvel-shows-sporadic-indexing-activity-is-this-correct/38474>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [January 6, 2016, 8:33am UTC](https://discuss.elastic.co/t/marvel-shows-sporadic-indexing-activity-is-this-correct/38474 "2016-01-06T08:33:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [January 12, 2016, 5:28pm UTC](https://discuss.elastic.co/t/marvel-shows-sporadic-indexing-activity-is-this-correct/38474/5 "2016-01-12T17:28:41Z")

</div>

> If you zoom into to the 5 minute resolution so you see sub-minute resolution are your graphs smooth?

If you zoom into a fine-grained resolution, the graphs are not expected to be smooth because the metrics are queried using a derivative aggregation, where each data point represents a bucket of time. If there are no documents within that time bucket, then the line chart will go to 0 for that time bucket. Reference: [Derivative aggregation | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-derivative-aggregation.html)

See also: [Marvel 2.0 Uneven measurement times result in odd graphs](https://discuss.elastic.co/t/marvel-2-0-uneven-measurement-times-result-in-odd-graphs/34841)

I set up a test where I index 1 document roughly every 15 seconds. On the Indices overview, when my time range is 30 minutes, my charts look like what I would expect:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/68d5844f8c987ffff29c32ffda803ad5b5b54a73.png)

When I make the time range 15 minutes, the graphs show zeroes because some of the time buckets shown have 0 doc count - there was no data available to calculate the derivative:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/6e1ac4fd60b1cd62fe1078a445c5d7d60ae092f0.png)

The data sometimes go to zero in my data, but only for non-consecutive data points.

---

_[View the full topic](https://discuss.elastic.co/t/marvel-shows-sporadic-indexing-activity-is-this-correct/38474)._
