Commit ebd2523d authored by Benjamin DUPUIS's avatar Benjamin DUPUIS
Browse files

update config for syslog

parent e9f74cd7
...@@ -91,4 +91,10 @@ loki: ...@@ -91,4 +91,10 @@ loki:
relabel_configs: relabel_configs:
- source_labels: ['__journal__systemd_unit'] - source_labels: ['__journal__systemd_unit']
target_label: 'unit' target_label: 'unit'
- source_labels:
- __journal__hostname
target_label: hostname
- source_labels:
- __journal_syslog_identifier
target_label: identifier
``` ```
...@@ -77,4 +77,11 @@ loki: ...@@ -77,4 +77,11 @@ loki:
relabel_configs: relabel_configs:
- source_labels: ['__journal__systemd_unit'] - source_labels: ['__journal__systemd_unit']
target_label: 'unit' target_label: 'unit'
- source_labels:
- __journal__hostname
target_label: hostname
- source_labels:
- __journal_syslog_identifier
target_label: identifier
... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment