From a2584f55452ea38eea54ec635edbfb1465f90cd5 Mon Sep 17 00:00:00 2001 From: Arseniy Kuznetsov Date: Thu, 20 Oct 2022 19:01:18 +0100 Subject: [PATCH] Initial Commit --- promtail/promtail-config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/promtail/promtail-config.yml b/promtail/promtail-config.yml index e123802..d22e396 100755 --- a/promtail/promtail-config.yml +++ b/promtail/promtail-config.yml @@ -18,13 +18,13 @@ scrape_configs: labels: job: "syslog" relabel_configs: - - source_labels: ['__syslog_connection_hostname'] - target_label: 'host' - - source_labels: ['__syslog_connection_ip_address'] - target_label: 'host_ip' - source_labels: ['__syslog_message_hostname'] - target_label: 'sender' + target_label: 'host' - source_labels: ['__syslog_message_severity'] target_label: 'severity' - source_labels: ['__syslog_message_facility'] target_label: 'facility' + - source_labels: ['__syslog_connection_hostname'] + target_label: 'syslog_srv' + - source_labels: ['__syslog_connection_ip_address'] + target_label: 'syslog_srv_ip'