Merge pull request #8319 from Security-Onion-Solutions/fix/elasticsearch_query_missing_query_path

Fix missing query path for so-elasticsearch-query
This commit is contained in:
weslambert
2022-07-18 09:47:16 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -832,7 +832,7 @@ up_to_2.3.140() {
COUNT=0
ELASTICSEARCH_CONNECTED="no"
while [[ "$COUNT" -le 240 ]]; do
so-elasticsearch-query -k --output /dev/null
so-elasticsearch-query / -k --output /dev/null
if [ $? -eq 0 ]; then
ELASTICSEARCH_CONNECTED="yes"
echo "connected!"

View File

@@ -30,7 +30,7 @@ echo -n "Waiting for ElasticSearch..."
COUNT=0
ELASTICSEARCH_CONNECTED="no"
while [[ "$COUNT" -le 240 ]]; do
so-elasticsearch-query -k --output /dev/null --silent --head --fail
so-elasticsearch-query / -k --output /dev/null --silent --head --fail
if [ $? -eq 0 ]; then
ELASTICSEARCH_CONNECTED="yes"
echo "connected!"