modified: roles/grafana_alloy/templates/config.alloy.j2
image-deploy.yaml / build-push-image (push) Successful in 24s
image-deploy.yaml / build-push-image (push) Successful in 24s
This commit is contained in:
1 parent
645244005c
commit
361e753f1a
1 file changed
+4
-4
@@ -57,8 +57,8 @@ loki.write "loki_srv" {
|
|||||||
|
|
||||||
loki.source.journal "journal" {
|
loki.source.journal "journal" {
|
||||||
max_age = "24h"
|
max_age = "24h"
|
||||||
relabel_rules = discovery.relabel.journald.rules
|
relabel_rules = discovery.relabel.journal.rules
|
||||||
forward_to = [loki.process.journald.receiver]
|
forward_to = [loki.process.journal.receiver]
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================
|
// ============================================
|
||||||
@@ -86,8 +86,8 @@ loki.process "journal" {
|
|||||||
// HOST JOURNALD RELABELING
|
// HOST JOURNALD RELABELING
|
||||||
// ============================================
|
// ============================================
|
||||||
|
|
||||||
// Convert journald metadata into Loki labels
|
// Convert journal metadata into Loki labels
|
||||||
discovery.relabel "journald" {
|
discovery.relabel "journal" {
|
||||||
targets = []
|
targets = []
|
||||||
|
|
||||||
// syslog_identifier
|
// syslog_identifier
|
||||||
|
|||||||
Reference in new issue
Block a user