This commit is contained in:
vcerenu
2022-06-14 12:50:21 -03:00
parent 672d1fc67a
commit a84ff7b1ff
8 changed files with 101 additions and 41 deletions
+9
View File
@@ -0,0 +1,9 @@
filebeatoutout=$(docker exec single-node_wazuh.manager_1 sh -c 'filebeat test output')
filebeatstatus=$(echo "${filebeatout}" | grep -c OK)
if [[ filebeatstatus -eq 7 ]]; then
echo "No errors in filebeat"
else
echo "Errors in filebeat"
echo "${filebeatout}"
exit 1
fi