Skip to content
Discussion options

You must be logged in to vote

A couple of places to check. In your Elasticsearch log, /opt/so/log/elasticsearch/securityonion.log look for an entry for the standalone node disconnecting from the cluster. When the script runs on the cron, the variable for LOG_SIZE_LIMIT is calculated in the so-elasticsearch-indices-delete-delete script as LOG_SIZE_LIMIT_GB=$(/usr/sbin/so-elasticsearch-cluster-space-total 50)

If this part of the script failed to yield a number:

# Iterate through the output of _cat/allocation for each node in the cluster to determine the total available space

for i in $(/usr/sbin/so-elasticsearch-query _cat/allocation | awk '{print $8}'); do

  size=$(echo $i | grep -oE '[0-9].*' | awk '{print int($1+0.…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@S6T0Sa0B1v
Comment options

Answer selected by S6T0Sa0B1v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
2.4
Labels
None yet
2 participants