mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-23 17:33:10 +01:00
Typo - Ensure Elasticsearch version 6 indices are checked
This commit is contained in:
@@ -395,7 +395,7 @@ es_version_check() {
|
|||||||
|
|
||||||
es_indices_check() {
|
es_indices_check() {
|
||||||
echo "Checking for unsupported Elasticsearch indices..."
|
echo "Checking for unsupported Elasticsearch indices..."
|
||||||
UNSUPPORTED_INDICES=$(for INDEX in $(so-elasticsearch-indices-list | awk '{print $3}'); do so-elasticsearch-query $INDEX/_settings?human |grep '"created_string":"7' | jq -r 'keys'[0]; done)
|
UNSUPPORTED_INDICES=$(for INDEX in $(so-elasticsearch-indices-list | awk '{print $3}'); do so-elasticsearch-query $INDEX/_settings?human |grep '"created_string":"6' | jq -r 'keys'[0]; done)
|
||||||
if [ -z "$UNSUPPORTED_INDICES" ]; then
|
if [ -z "$UNSUPPORTED_INDICES" ]; then
|
||||||
echo "No unsupported indices found."
|
echo "No unsupported indices found."
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user