-
What is a problem?Hi Team, I’m trying to deploy fluentd as a deployment in k8s cluster exposing service as LoadBalancer (AWS Network Loadbalancer) so it can accept logs from outside the k8s cluster (windows servers) and save them in the elasticsearch cluster that is running on k8s. However though fluentd pods and loadbalancer is up and running with the healthy targets, I still can’t see any logs. I've even updated the configs to write the receiving logs to stdout to test, but still no luck. Could you please advise? Note that I've already checked the access logs of the LoadBalancer and I can see the connections, so it seems like it's not an issue with the connectivity between the windows servers and NLB. Thanks Describe the configuration of Fluentd
Describe the logs of Fluentd
Environment- Docker image (tag): fluentd:v1.16.2-debian-1.1
- Operating system: Amazon Linux 2 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It looks like there is no problem with the Fluentd configuration. It is possible that the data is not reaching the 55446 port on this machine, so you should check that. It might be a good test to try manually sending TCP data from the outside using echo "test" | nc x.x.x.x 55446 -w 1 |
Beta Was this translation helpful? Give feedback.
-
Thanks @daipom , indeed that was the case, had to update configurations in AWS NLB to make it work. |
Beta Was this translation helpful? Give feedback.
It looks like there is no problem with the Fluentd configuration.
It is possible that the data is not reaching the 55446 port on this machine, so you should check that.
It might be a good test to try manually sending TCP data from the outside using
nc
commands, etc.