# Kibana Displays status Red

**URL:** <https://discuss.elastic.co/t/kibana-displays-status-red/75290>\
**Category:** Elasticsearch\
**Created:** [February 16, 2017, 6:41am UTC](https://discuss.elastic.co/t/kibana-displays-status-red/75290 "2017-02-16T06:41:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramakrishna\_K](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Ramakrishna\_K](https://discuss.elastic.co/u/Ramakrishna_K)\
**Post date:** [February 16, 2017, 6:41am UTC](https://discuss.elastic.co/t/kibana-displays-status-red/75290/1 "2017-02-16T06:41:36Z")

</div>

Hi,

I have been using elk stack with metric beats to collect linux systems performance data from 28 servers. For the past few days I am able to get the stats & analyze data.

But today when I login I see the below status in Kibana:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/b04f62856af87f4fbb852b9f2aabd90c787e675d.jpg)

Also I can see that the disk space is full because of the elasticsearch /var/lib/elasticsearch/nodes/0/indices

[root@elk-stack indices]# df -h  
Filesystem Size Used Avail Use% Mounted on  
/dev/sda3 392G 391G 64M 100% /  
devtmpfs 7.8G 0 7.8G 0% /dev  
tmpfs 7.8G 0 7.8G 0% /dev/shm  
tmpfs 7.8G 116M 7.7G 2% /run  
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup  
/dev/sda3 392G 391G 64M 100% /home  
/dev/sda1 1014M 133M 882M 14% /boot  
tmpfs 1.6G 0 1.6G 0% /run/user/1000

My questions are below:

1. I don't need more than 4 days logs. How can I set logrotation mechanism to delete elasticsearch indices older than 3 days?

2. How to increase the heap size as shown in kibana screenshot?

Could you please provide the information or point me to the link for the documentation related to this?  
Thanks in advance.

Regards,  
Ramakrishna

---

<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 16, 2017, 6:54am UTC](https://discuss.elastic.co/t/kibana-displays-status-red/75290/2 "2017-02-16T06:54:16Z")

</div>

1. Elasticsearch Curator - [https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html)
2. You shouldn't need to.

---

<div class="post-metadata">

**Author:** ![Ramakrishna\_K](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Ramakrishna\_K](https://discuss.elastic.co/u/Ramakrishna_K)\
**Post date:** [February 16, 2017, 1:23pm UTC](https://discuss.elastic.co/t/kibana-displays-status-red/75290/3 "2017-02-16T13:23:34Z")

</div>

Hi,

Thanks for the quick response. After installing the curator I have done the following:

1. Queried what index is present on elasticsearch.

curl -XGET 'localhost:9200/\_cat/indices?v&pretty'  
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
yellow open .kibana qMXNaZi3RGi9wLx\_OSufuQ 1 1 103 2 199.8kb 199.8kb  
yellow open metricbeat-2017.02.13 ZJIUNUlfSjub30P89rKjfw 5 1 129884924 0 43.4gb 43.4gb  
yellow open metricbeat-2017.02.15 hXWRqdCqQP6qR3t3TsQRog 5 1 83957276 0 33.3gb 33.3gb  
yellow open metricbeat-2017.02.14 4tBKsQEhSZGniKdRGv6Fdg 5 1 129916020 0 43.8gb 43.8gb  
yellow open metricbeat-2017.02.12 7csYVn2fR4-9JojjuBuFlg 5 1 129874841 0 43.1gb 43.1gb  
yellow open metricbeat-2017.02.16 -O9dibroRPyiTmW3SKE2cw 5 1 522998 0 219.8mb 219.8mb

1. Created the below action file for curator based on examples.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/1/16af2242a2945169eeaf6dcfb801f75ff9d2a96d.jpg)

1. ran the below command to delete all metricbeat indices which are older than 5 days.

curator /root/actionfile.yml

Now only 5 days data is present & disk space became normal.

[root@elk-stack ~]# df -h  
Filesystem Size Used Avail Use% Mounted on  
/dev/sda3 392G 163G 228G 42% /  
devtmpfs 7.8G 0 7.8G 0% /dev  
tmpfs 7.8G 0 7.8G 0% /dev/shm  
tmpfs 7.8G 8.5M 7.8G 1% /run  
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup  
/dev/sda3 392G 163G 228G 42% /home  
/dev/sda1 1014M 133M 882M 14% /boot  
tmpfs 1.6G 0 1.6G 0% /run/user/1000  
[root@elk-stack ~]#

Now I was able to display stats normally.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/81cc0c57e8b5e01469c2f04b0daf4c741d16a3f1.jpg)

Many thanks for the support.

Regards,  
Ramakrishna

---

<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:** [March 16, 2017, 1:23pm UTC](https://discuss.elastic.co/t/kibana-displays-status-red/75290/4 "2017-03-16T13:23:35Z")

</div>

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