diff --git a/eks-anywhere-common/Testers/Sysdig/sysdig-test-configmap.yaml b/eks-anywhere-common/Testers/Sysdig/sysdig-test-configmap.yaml index 8e3a10e0..4c86a9b3 100644 --- a/eks-anywhere-common/Testers/Sysdig/sysdig-test-configmap.yaml +++ b/eks-anywhere-common/Testers/Sysdig/sysdig-test-configmap.yaml @@ -12,7 +12,7 @@ data: pods=($(kubectl get pod -l app=sysdig-agent -n sysdig -o jsonpath="{.items[*].metadata.name}")) for pod in "${pods[@]}"; do logs=$(kubectl logs -n sysdig $pod --tail -1) - if grep "Communication with server successful" <<< "$logs" + if grep "to collector at host" <<< "$logs" then echo -e "\n # Sysdig Agent connection with server was success #" # Let's generate events