# Marvel in Red state while indexing

**URL:** <https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863>\
**Category:** Kibana\
**Created:** [February 26, 2016, 3:10pm UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863 "2016-02-26T15:10:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [February 26, 2016, 3:10pm UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/1 "2016-02-26T15:10:45Z")

</div>

Hi,

I'm new to Kibana and Marvel.  
I have a problem where Kibana is always Red when i'm bulk indexing documents (i'm using the Bulk JAVA API)  
After the indexing, it goes back alive and shows some stats, but no graph history. The cluster is green though when i curl \_health the cluster via the REST API.

Any idea how to fix this ? i've already tried to delete the .kibana index and restart my elastic cluster.

Thx.

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [February 26, 2016, 6:20pm UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/2 "2016-02-26T18:20:23Z")

</div>

What version of Elasticsearch and Kibana are you using?

Can you paste some logs here that show the state going red? Or a screen shot?

Thanks,  
Lee

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2016, 7:34pm UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/3 "2016-02-26T19:34:40Z")

</div>

Use the `_cat/indices` API to check what is not allocated.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 26, 2016, 7:46pm UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/4 "2016-02-26T19:46:30Z")

</div>

Are you indexing into existing indices or are indices automatically created as a result of your indexing? How many indices do you have? What is the size of the cluster? Which version of Elasticsearch are you on?

---

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [February 29, 2016, 8:20am UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/5 "2016-02-29T08:20:28Z")

</div>

Thanks for your replies,

I'm using Elastic 2.2 and Kibana 4.4 and i'm pulling the latest Marvel plugin (i'm using Docker)  
The cluster is Green (when i check the health by /\_cluster/health) but form time to time (it is not a constant thing) kibana is red.  
I am indexing to existing indices (created manually before bulk indexing) i have 12 indices and the cluster is a basically a three nodes setup with 30 GB of RAM each and 4TB of HDD (NFS)  
What i noticed is that when the cluster is idle or does not do too much of indexing, Marvel becomes live and shows some activity (no history though on indexing/activity graphs) but when i'm bulk indexing Kibana goes Red most of the time and Marvel neither Sense are available.  
I've tried to delete the .marvel\* indices

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 29, 2016, 8:21am UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/6 "2016-02-29T08:21:38Z")

</div>

> [@iliasse](#):
>
> 4TB of HDD (NFS)

Yuck, we don't recommend this because it's too slow.

---

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [February 29, 2016, 8:24am UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/7 "2016-02-29T08:24:19Z")

</div>

Yeah i know 😕 but this is not much of a personal choice... Local SSD is the recommendation.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 29, 2016, 8:46am UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/8 "2016-02-29T08:46:44Z")

</div>

Make sure you have followed [the following guidelines](https://www.elastic.co/guide/en/elasticsearch/guide/current/indexing-performance.html), especially with respect to `index.merge.scheduler.max_thread_count` as you have slow disks.

---

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [February 29, 2016, 8:57am UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/9 "2016-02-29T08:57:04Z")

</div>

Thanks for your replies.  
I added the line index.merge.scheduler.max\_thread\_count: 1 to my yml files  
I'll try now to do bulk import and see how it goes.

---

<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, 2:00pm UTC](https://discuss.elastic.co/t/marvel-in-red-state-while-indexing/42863/10 "2017-07-06T14:00:49Z")

</div>


