TECHZEN Zenoss User Community ARCHIVE  

Change when to purge logstash/elastic-search?

Subject: Change when to purge logstash/elastic-search?
Author: [Not Specified]
Posted: 2015-06-18 13:02

Hi

Is there any way to change the size currently configured for the purging

By running:
journalctl -u serviced -f -l

I see this:
/usr/bin/docker exec 82a8daf36300ab1c26241c7f329278bc55548d5c35759f7b7394c299b7dbc671 /bin/bash -c /usr/local/bin/curator --port 9100 delete --disk-space 10 indices --all-indices

I believe the "--disk-space 10" refers to the 10GB that the system checks.

I am do not know what those logs are for, but unless told otherwise, i would love to change this to like... 3gb (more or less 1 week worth of those logs, that i do not know what are, where to see them, or anything).

Can we tell contro center to change that parameter somehow



Subject: /etc/default/serviced:
Author: Jan Garaj
Posted: 2015-06-19 05:34

/etc/default/serviced:
# Max size of Logstash data to keep in gigabytes
# SERVICED_LOGSTASH_MAX_SIZE=10

# Set the age (in days) of logstash data to keep
# SERVICED_LOGSTASH_MAX_DAYS=14

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Thank you!
Author: [Not Specified]
Posted: 2015-06-19 07:21

Thank you!



< Previous
Cleanup after 5.0.2 to 5.0.3 upgrade (and a few bonus questions)
  Next
Graphs are not working
>