Closed ajith2234 closed 2 years ago
Hi!
There's something I did not fully understand. If you are using HTTPS via ingress, shouldn't you use port 443
instead of 80
?
Thank @javsalgar for the reply,
But I tried with port 443 and it's still not working. The only way it works through port 443 is when we mention tls.verify=off
/opt/fluent-bit/bin/fluent-bit -i tail -p path=/home/ajith/device.log -o http://my-dns-name:443 -p format=json -p json_date_key=false -p tls=on -p tls.verify=off.
But I would like it to work when tls.verify=on
and we authenticate with the certificates.
I think the problem is with the sender. I also tried to send the logs through Fluentd and was not successful.
It seems it is not an issue related to the Bitnami FluentD container image or Helm chart but about how the application or environment is being used/configured.
For information regarding the application itself, customization of the content within the application, or questions about the use of technology or infrastructure; we highly recommend checking forums and user guides made available by the project behind the application or the technology.
That said, we will keep this ticket open until the stale bot closes it just in case someone from the community adds some valuable info.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnami/fluentd 5.0.0
What steps will reproduce the bug?
I want to create an environment where multiple fluent bit instances send logs to a fluentd instance deployed in Kubernetes through HTTPS. I am using an ingress controller to receive traffic from outside the cluster and redirect it to the fluentd aggregator. I am using Azure Kubernetes Service for deploying fluentd and my local machine to use a fluent bit instance to send logs. I have also created a DNS name using Azure DNS Zone
Step 1: Deploy Fluend to Kubernetes Aggregator Configuration in values.yaml
command:
helm install -f values.yaml fluentd-aggregator bitnami/fluentd
Step 2: Deploy the ingress controller to Kubernetes https://github.com/kubernetes/ingress-nginx/
command:
helm install -f values.yaml fluentd-ingress ingress-nginx/ingress-nginx
Step 3: Configure Ingress ingress.yaml file
command:
kubectl apply -f ingress.yaml
I have created a certificate and secret using the documentation given below https://docs.microsoft.com/en-us/azure/aks/ingress-own-tls?tabs=azure-cli
Step 4: Fluent-Bit Configuration
Install fluent bit command:
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
While loop for getting logs from local machine command:
Send Message to fluentd using tls
What is the expected behavior?
What do you see instead?
Additional information
I have created a DNS Zone resource in azure and added the IP of the ingress controller to it