LOG_SIZE_LIMIT=600
CURATOR_ENABLED="yes"
CURATOR_CLOSE_DAYS=10
------
Elastic is well over the limit:
> du /nsm/elasticsearch -h -s
1.5T /nsm/elasticsearch
---------
Here is a sample from /var/log/curator/curator.log:
2018-09-05 14:11:01,586 INFO Preparing Action ID: 1, "delete_indices"
2018-09-05 14:11:01,587 INFO Preparing Action ID: 1, "close"
2018-09-05 14:11:01,592 INFO Trying Action ID: 1, "delete_indices": Delete indices when $disk_space value (in GB) is exceeded.
2018-09-05 14:11:01,594 INFO Trying Action ID: 1, "close": Close indices older than 10 days (based on index name), for logstash- prefixed indices.
2018-09-05 14:11:02,928 INFO Skipping action "delete_indices" due to empty list: <class 'curator.exceptions.NoIndices'>
2018-09-05 14:11:02,928 INFO Action ID: 1, "delete_indices" completed.
2018-09-05 14:11:02,928 INFO Job completed.
2018-09-05 14:11:02,948 INFO Closing selected indices: [u'logstash-syslog-2018.08.23', u'logstash-syslog-2018.08.22', u'logstash-syslog-2018.08.26', u'logstash-syslog-2018.08.25', u'logstash-syslog-2018.08.24', u'logstash-beats-2018.08.24', u'logstash-beats-2018.08.25', u'logstash-beats-2018.08.26', u'logstash-beats-2018.08.22', u'logstash-beats-2018.08.23', u'logstash-bro-2018.08.22', u'logstash-bro-2018.08.23', u'logstash-bro-2018.08.26', u'logstash-bro-2018.08.24', u'logstash-bro-2018.08.25', u'logstash-ids-2018.08.23', u'logstash-ids-2018.08.22', u'logstash-ids-2018.08.25', u'logstash-ids-2018.08.24', u'logstash-ids-2018.08.26']
2018-09-05 14:11:02,953 ERROR Failed to complete action: close. <class 'curator.exceptions.FailedExecution'>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: TransportError(403, u'cluster_block_exception', u'blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];')
I have the same issues prior to a complete reinstall a few months ago.
Any ideas on this?
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.
we do have the exact same issue:
https://groups.google.com/forum/#!topic/security-onion/r8o0W6NM1KY
Did you change something?
We also see that older indicies get to Read Only and the curator is not able to delete the old logs. after some period of time, the disk is full and elastic stops working...
Regards,
Erwin
We had the same problem, and I found for some reason the cron jobs to run the curator process were not present.
I manually ran the curator-delete task, and copied in the files from the git repos, now seems OK
Are you saying that there was no file "curator-delete" in the /etc/cron.d directory?
So far, I have been able to manually delete old indexes, so we are still working OK.
Tony
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.