-
After I created log ingestion for EKS logs via the solution, I would like to monitor the log agent, which is fluent-bit, to make sure the agent is running as normal, and I would like to see the status via Grafana Dashboard. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Basically, the Fluent Bit agent can expose metrics in Prometheus format, and if you created the log ingestion via the solution, we have enabled the auto-discovery to Prometheus by default. So if you open the fluent-bit-logging.yaml generated by the solution, you should be able to see below:
The minimal requirement is that you must deploy Prometheus in the same EKS cluster. You may have different prometheus server in a different location, such as if you are using Amazon Managed Service for Prometheus, you will still need to run prometheus in the same EKS cluster, then you can use the
Once you have the Prometheus in the same EKS cluster, you can open the Prometheus console and see if the auto-discovery is working or not (Fluent Bit is in the target list or not).
Then open Next step, you can then use the Prometheus as data source and then view the data in Grafana Dashboard. There is an example fluent-bit dashboard you can use. Check Example Dashbaord for more details. Just for your easy access, you can download it via
Then login to your Grafana Dashboard, and click 'Dashboard' > 'Import'. And then import the json file you just downloaded. That is all. You are now able to monitor the Fluent-Bit agent status running in EKS. You can see how to input and output goes and whether or not there are some errors. You can also set up some alerts based on your needs. |
Beta Was this translation helpful? Give feedback.
Basically, the Fluent Bit agent can expose metrics in Prometheus format, and if you created the log ingestion via the solution, we have enabled the auto-discovery to Prometheus by default. So if you open the fluent-bit-logging.yaml generated by the solution, you should be able to see below:
The minimal requirement is that you must deploy Prometheus in the …