promtail config targets
This commit is contained in:
@@ -22,9 +22,9 @@ scrape_configs:
|
|||||||
target_label: 'routerboard'
|
target_label: 'routerboard'
|
||||||
- source_labels: ['__syslog_connection_hostname']
|
- source_labels: ['__syslog_connection_hostname']
|
||||||
target_label: 'syslog_host'
|
target_label: 'syslog_host'
|
||||||
- source_labels: ['__syslog_connection_ip_address']
|
|
||||||
target_label: 'syslog_host_ip'
|
|
||||||
|
|
||||||
|
# - source_labels: ['__syslog_connection_ip_address']
|
||||||
|
# target_label: 'syslog_host_ip'
|
||||||
# - source_labels: ['__syslog_message_severity']
|
# - source_labels: ['__syslog_message_severity']
|
||||||
# target_label: 'severity'
|
# target_label: 'severity'
|
||||||
# - source_labels: ['__syslog_message_facility']
|
# - source_labels: ['__syslog_message_facility']
|
||||||
|
|||||||
Reference in New Issue
Block a user