Promtail to collect logs from port, stdout, stderr not only from path, when?

Dear Grafana/Loki team.

One little question about “Promtail”, I was asking for this also in 2020.

What about collecting/tail logs stdout/stderr, port ?


The current static_config uses path (log files) Configuration | Grafana Labs that for symlinks is not working as expected.

I’m using:
a. PaaS - RHEL OpenShift Container Platform 3.11 (my namespace where I don’t have access to other resources than my pods/containers from my namespace).

b. PLG Stack

  • Grafana: 7.4.0
  • Loki: 2.1.0
  • Promtail: 2.1.0

Kind regards,

Kind question for you guys @ewelch @gouthamvegrafana