For documentation on sending your FireLens monitored log data to Grafana Loki, see: Fluent Bit loki Plugin Documentation. Be aware there is a separate Golang output plugin provided by Grafana with different configuration options. Here is a blog on sending logs to Loki using the loki Fluent Bit plugin. The Loki data source provides access to Loki, Grafana’s log aggregation system.
It should be noted that this example and Grafana docs show "enable-ecs-log-metadata":"true"
(which is the default). This option tells FireLens to add ECS Task Metadata keys to logs.
For all configuration parameters for Fluent Bit Loki output plugin, see Fluent Bit loki Plugin Documentation documentation.
If you are looking for "bearer_token"
support, please use the docker hub upstream image and follow the Fluent Bit loki latest Documentation.
AWS recommends that you store sensitive information, like your Datadog API Key using secretOptions as shown in the example Task Definition. This is optional; it is also valid to simply specify the Https password in options map:
"logConfiguration": {
"logDriver":"awsfirelens",
"options": {
"Name": "loki",
"Host": "logs-prod-us-west2.grafana.net",
"port": "443",
"tls": "on",
"tls.verify": "on",
"http_user": "user_id",
"http_passwd": "<HTTP Password>"
}
},