How to disable Monitoring or to make a retention period of 7 days only?

I have this situation where

.monitoring-es-6-2018.08.25
Health: green Green
2.4m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.22
Health: green Green
2.3m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.24
Health: green Green
2.3m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.21
Health: green Green
2.3m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.20
Health: green Green
2.3m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.19
Health: green Green
2.3m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.23
Health: green Green
2.2m
1.1 GB
0 /s
6.14 /s
0
.monitoring-es-6-2018.08.26
Health: green Green
1.9m
960.0 MB
151.95 /s
6.14 /s
0

How can I make sure that this so called
.monitoring-es-6-* will not be so huge or so many at numbers, maybe a logrotation or retention policy. I do not know exactly how come this logs are way bigger than the whole data collected by the logstash.

If someone can give me an option since I have 20 GB real logs, and 20 GB logs from monitoring.

Here are the config options for for monitoring: https://www.elastic.co/guide/en/elasticsearch/reference/current/monitoring-settings.html

You might be interested to modify the collection interval.

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