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.
Loki Promtail pipeline template cant find variables
I have following issue with loki promtail. Here is one configuration snippet from my promtail:
Parsing *.log files from Apache Airflow via Docker: Promtail Loki Grafana
I little bit confused, I trying for my POC via Docker, collect and read *.log files, for example line from log: