ekscloudwatch icon indicating copy to clipboard operation
ekscloudwatch copied to clipboard

error while sending events to agents

Open phumpal opened this issue 5 years ago • 0 comments

While k logs -f eks-cloudwatch-dc8c4b6d9-vhkng -n sysdig-agent --follow=true I noticed

2020/07/09 19:14:27 Error while sending events to agent: Post http://sysdig-agent:7765/k8s_audit: dial tcp: lookup sysdig-agent on 172.20.0.10:53: no such host.
2020/07/09 19:14:27 Error while sending events to agent: Post http://sysdig-agent:7765/k8s_audit: dial tcp: lookup sysdig-agent on 172.20.0.10:53: no such host.
2020/07/09 19:14:27 Error while sending events to agent: Post http://sysdig-agent:7765/k8s_audit: dial tcp: lookup sysdig-agent on 172.20.0.10:53: no such host.
2020/07/09 19:14:27 80 logs sent to the agent (1138 total)
2020/07/09 19:14:27 11561 total logs

Attaching k exec -it sysdig-agent-c6jls /bin/sh -n sysdig-agent it appears the agent alias is not resolving

# nc -z -v sysdig-agent 7765
sysdig-agent: forward host lookup failed: No address associated with name

Audit events do not appear in the Secure UI.

phumpal avatar Jul 09 '20 19:07 phumpal