# Index monitoring document error

**URL:** <https://discuss.elastic.co/t/index-monitoring-document-error/179826>\
**Category:** Elasticsearch\
**Created:** [May 6, 2019, 5:43pm UTC](https://discuss.elastic.co/t/index-monitoring-document-error/179826 "2019-05-06T17:43:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farhan\_Umer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farhan_umer/32/51423_2.png) [@Farhan\_Umer](https://discuss.elastic.co/u/Farhan_Umer)\
**Post date:** [May 6, 2019, 5:43pm UTC](https://discuss.elastic.co/t/index-monitoring-document-error/179826/1 "2019-05-06T17:43:13Z")

</div>

I am getting this error:

[2019-05-06T13:28:32,108][WARN][o.e.x.m.e.l.LocalExporter] [qxAwDyn] unexpected error while indexing monitoring document  
org.elasticsearch.xpack.monitoring.exporter.ExportException: UnavailableShardsException[[.monitoring-es-6-2019.05.06][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.monitoring-es-6-2019.05.06][0]] containing [23043] requests]]

Is this related to Bulk request, is it a resource issue. Disk is 60%, RAM is 16G and 4 cores CPU.

I think and not sure how .monitoring index is being created. I think it could be wazuh API creating it. Any help will be apprecated.

---

<div class="post-metadata">

**Author:** ![Farhan\_Umer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farhan_umer/32/51423_2.png) [@Farhan\_Umer](https://discuss.elastic.co/u/Farhan_Umer)\
**Post date:** [May 6, 2019, 5:59pm UTC](https://discuss.elastic.co/t/index-monitoring-document-error/179826/2 "2019-05-06T17:59:17Z")

</div>

Do i need some settings / configuration changes to handle "containing [23043] requests]]"

---

<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:** [June 3, 2019, 5:59pm UTC](https://discuss.elastic.co/t/index-monitoring-document-error/179826/3 "2019-06-03T17:59:17Z")

</div>

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