# Kibana slow response via kibana console

**URL:** <https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [June 25, 2024, 4:03am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985 "2024-06-25T04:03:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Rybkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_rybkin/32/121805_2.png) [@Sam\_Rybkin](https://discuss.elastic.co/u/Sam_Rybkin)\
**Post date:** [June 25, 2024, 4:03am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/1 "2024-06-25T04:03:56Z")

</div>

Hi we use docker-compose for our stack. And our kibana console start to work very slow.  
Kibana version 7.9.2.  
curl -k cluster/health?pretty

```auto
{
  "cluster_name" : "some-dev-cluster",
  "status" : "yellow",
  "timed_out" : false,
  "number_of_nodes" : 3,
  "number_of_data_nodes" : 1,       
  "active_primary_shards" : 359,
  "active_shards" : 359,
  "relocating_shards" : 0,           
  "initializing_shards" : 0,
  "unassigned_shards" : 38,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 90.42821158690177
}

```

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

```auto
#iostat
avg-cpu: %user %nice %system %iowait %steal %idle
           5.06 0.00 0.52 2.25 0.00 92.17

Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 205.24 223.78 1417.58 22385804661 141808151591
scd0 0.00 0.00 0.00 1028 0
dm-0 206.39 223.69 1417.49 22376397893 141799227892
dm-1 0.05 0.09 0.09 9391360 8913308

```

Can you advise how we can fix this issue ? If needed to add some information can advise what exactly need to send ?

Will be thankful for any information and any advice.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [June 25, 2024, 8:41am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/2 "2024-06-25T08:41:06Z")

</div>

Hi @Sam_Rybkin,

Welcome to the community! I see from your cluster health output that the status is yellow:

> [@Sam\_Rybkin](#):
>
> `"status" : "yellow",`

It could be the case that this is causing your issues. I would recommend checking the state of your shards and check if any of the proposed fixes resolve your issue [as per the troubleshooting guide](https://www.elastic.co/guide/en/elasticsearch/reference/current/red-yellow-cluster-status.html).

Just an aside that the version of Kibana you're using is past EOL, so we would recommend upgrading when you can.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Sam\_Rybkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_rybkin/32/121805_2.png) [@Sam\_Rybkin](https://discuss.elastic.co/u/Sam_Rybkin)\
**Post date:** [June 25, 2024, 11:50am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/3 "2024-06-25T11:50:39Z")

</div>

> [@carly.richmond](#):
>
> It could be the case that this is causing your issues. I would recommend checking the state of your shards and check if any of the proposed fixes resolve your issue [as per the troubleshooting guide](https://www.elastic.co/guide/en/elasticsearch/reference/current/red-yellow-cluster-status.html).
> 
> Just an aside that the version of Kibana you're using is past EOL, so we would recommend upgrading when you can.
> 
> Hope that helps!

Hi @carly.richmond !! Thanks for reply !!!  
I am checking the cluster health status:

```auto
GET _cluster/health?filter_path=status,*_shards
{
  "status" : "yellow",
  "active_primary_shards" : 362,
  "active_shards" : 362,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 40,
  "delayed_unassigned_shards" : 0
}

```

And I see that we have "unassigned\_shards" : 40, could be it reason slow working kibana console?

I am checking index:

```auto
GET _cluster/allocation/explain?filter_path=index,node_allocation_decisions.node_name,node_allocation_decisions.deciders.*
{
  "index": "test-2024.06.11",
  "shard": 0,
  "primary": false
}

```

And I receive next explanation:  
"explanation" : "a copy of this shard is already allocated to this node [[test-2024.06.11][0]

How we can fix this issue ?

Also we have only one data node ("number\_of\_data\_nodes" : 1,)

---

<div class="post-metadata">

**Author:** ![Sam\_Rybkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_rybkin/32/121805_2.png) [@Sam\_Rybkin](https://discuss.elastic.co/u/Sam_Rybkin)\
**Post date:** [June 26, 2024, 7:32am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/4 "2024-06-26T07:32:21Z")

</div>

Hi @carly.richmond !

We changed our settings in kibana:

```auto
PUT /.kibana/_settings
{
 "index" : {
  "number_of_replicas":0,              
  "auto_expand_replicas": false
 }
}

```

Because we have only one data\_node. ( "number\_of\_data\_nodes" : 1,)

But our Kibana console working very slow. Maybe you have any advices and recommendation how we can speed up our kibana console ?

Also what we can do with "unassigned\_shards" ?  
If they have "explanation" : "a copy of this shard is already allocated to this node ? After changes what we did.

---

<div class="post-metadata">

**Author:** ![Sam\_Rybkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_rybkin/32/121805_2.png) [@Sam\_Rybkin](https://discuss.elastic.co/u/Sam_Rybkin)\
**Post date:** [June 26, 2024, 1:45pm UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/5 "2024-06-26T13:45:34Z")

</div>

Can someone help us ? We still receiving issue with slow working kibana console ☹

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [June 27, 2024, 10:47am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/6 "2024-06-27T10:47:25Z")

</div>

Hi @Sam_Rybkin,

Can you confirm if your cluster is now in a green state? Or is it still green?

What queries/ operations are you running via the DevTools console? Can you please share?

---

<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 25, 2024, 10:48am UTC](https://discuss.elastic.co/t/kibana-slow-response-via-kibana-console/361985/7 "2024-07-25T10:48:00Z")

</div>

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