Discriminate app and garbage collector logs from promtail

17 views
Skip to first unread message

Maximiliano Bonanata

unread,
Nov 17, 2023, 8:18:51 AM11/17/23
to lokiproject
Hi,

In our Kubernetes Cluster we run Promtail as a daemonset. So applications send logs to stdout so Promtail can collect and send them to Loki. The problem is that applications (Java) also send GC logs to stdout too. And we don't know how to label them separately.

We are using Promtail version 2.8.3

Any advice you can give us?

Thanks in advance!
Maxi

Reply all
Reply to author
Forward
0 new messages