Relative Content

Tag Archive for grafanagrafana-lokipromtail

Grafana Cloud sum by use string instead of int

On Grafana Cloud, I’m trying to create a graph which retrieve a field “metric” from logs, to display this by range of 1 hour. This seems very easy but the sumby doesn’t seems to understand the field as int.

can promtail write to file

I was wondering if Promtail can also output logs to a file.
For example, if I use docker_sd_configs to get the logs, I’d like to have them written to a specific path with a custom filename. While I’m aware that Fluentd and Fluent Bit can do this, I would prefer to use Promtail if possible.