# Resolution problems with kibana monitoring

**URL:** <https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592>\
**Category:** Kibana\
**Created:** [November 27, 2019, 1:33am UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592 "2019-11-27T01:33:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmartori](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jmartori/32/36981_2.png) [@jmartori](https://discuss.elastic.co/u/jmartori)\
**Post date:** [November 27, 2019, 1:33am UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592/1 "2019-11-27T01:33:52Z")

</div>

Hi there,  
we have noticed that unless we use the "Last 4 hours" resolution while using kibana's monitoring dashboards, we obtain some saw-like pattern.  
At the same time some other plots will just show 0's when the time is too small ("last 1 hour").

Is there anyway to increase the sampling of the monitoring, to avoid these problems? Is there something else wrong?

Thanks for the help,

Jordi

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [November 27, 2019, 9:53am UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592/2 "2019-11-27T09:53:10Z")

</div>

Hi @jmartori  
the monitoring collection interval can be controlled via `xpack.monitoring.collection.interval` parameter on each cluster node in the elasticsearch.yml file (for reference see: [https://www.elastic.co/guide/en/elasticsearch/reference/7.4/es-monitoring-collectors.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/es-monitoring-collectors.html))

You should also check the `xpack.monitoring.min_interval_seconds` field in kibana.yml file to be the same value ([https://www.elastic.co/guide/en/kibana/current/monitoring-settings-kb.html](https://www.elastic.co/guide/en/kibana/current/monitoring-settings-kb.html))

If you are using MetricBeats to monitor your cluster, you should check the configuration of your MetricBeats

---

<div class="post-metadata">

**Author:** ![jmartori](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jmartori/32/36981_2.png) [@jmartori](https://discuss.elastic.co/u/jmartori)\
**Post date:** [November 27, 2019, 2:09pm UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592/3 "2019-11-27T14:09:51Z")

</div>

Hi @markov00,  
So apparently I hadn't changed the `min_interval_seconds`, but I had increased the `collection.interval` to "60s".

I tried to update the value with:

```auto
PUT /_cluster/settings 
{
    "transient" : {
        "xpack.monitoring.min_interval_seconds" : "60s"
    }
}

```

But I get an error with the reason being,`"persistent setting [xpack.monitoring.min_interval_seconds], not dynamically updateable"`

I guess that that means that I can only change this configuration value by adding it to elasticsearch.yml, and restarting the nodes. Right?

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [November 27, 2019, 2:39pm UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592/4 "2019-11-27T14:39:54Z")

</div>

So, I think there is a bit of confusion here because of the namings, I'm sorry for that.

If you have changed the `xpack.monitoring.collection.interval` (that is a dynamic settings in elasticsearch or through `elasticsearch.yml`) you should set the `xpack.monitoring.min_interval_seconds` option in `kibana.yml` to the same value `xpack.monitoring.min_interval_seconds: 60`

---

<div class="post-metadata">

**Author:** ![jmartori](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jmartori/32/36981_2.png) [@jmartori](https://discuss.elastic.co/u/jmartori)\
**Post date:** [November 27, 2019, 4:47pm UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592/5 "2019-11-27T16:47:14Z")

</div>

That worked beautifully.  
Thanks for the help,

Jordi

---

<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 25, 2019, 4:53pm UTC](https://discuss.elastic.co/t/resolution-problems-with-kibana-monitoring/209592/6 "2019-12-25T16:53:33Z")

</div>

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