This commit is contained in:
vcerenu
2022-06-08 18:14:12 -03:00
parent 42c2ea5dba
commit a34e0af547
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
fbout=$(docker exec single-node_wazuh.manager_1 sh -c 'filebeat test output')
fbstatus=$(echo "${fbout}" | grep OK | wc -l)
fbstatus=$(echo "${fbout}" | grep -c OK)
if [[ fbstatus -eq 7 ]]; then
echo "No errors in filebeat"
else