Skip to content

How to monitor log agent status via Grafana for EKS log ingestions? #103

Answered by daixba
daixba asked this question in Q&A
Discussion options

You must be logged in to vote

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:

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: fluent-bit
  namespace: logging
  labels:
    app.kubernetes.io/name: fluent-bit-logging
spec:
  ...
  template:
    metadata:
      ...
      annotations:
        prometheus.io/scrape: "true"
        prometheus.io/port: "2022"
        prometheus.io/path: /api/v1/metrics/prometheus

The minimal requirement is that you must deploy Prometheus in the …

Replies: 1 comment

Comment options

daixba
Apr 7, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by JoeShi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant