update docs count

This commit is contained in:
vcerenu
2023-02-01 10:33:26 -03:00
parent b039567e1c
commit 3279931813

View File

@@ -251,7 +251,7 @@ jobs:
- name: Check documents into wazuh-alerts index
run: |
docs="`curl -XGET "https://0.0.0.0:9200/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`"
if [[ $docs -gt 200 ]]; then
if [[ $docs -gt 100 ]]; then
echo "wazuh-alerts index documents: ${docs}"
else
echo "wazuh-alerts index documents: ${docs}"