Loki: Docker driver: remove filename label

The Loki Docker driver, by default adds a label for the filename of the log. Is there an option to not add this label?

to disable the filename label in Loki by using the --log.label='' flag when starting the Loki Docker driver. This flag can be used to specify an empty string as the value for the log.label label.

For example, you can start the Loki Docker driver with the following command:

docker run -d --name loki -p 3100:3100 grafana/loki:latest --log.label=''

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.