Modify `vector` config for `alertmanager`
This commit is contained in:
parent
8c95ba95ba
commit
1de33f97cb
|
@ -23,6 +23,9 @@ data_dir = "/var/lib/vector/"
|
|||
.message = .msg
|
||||
del(.msg)
|
||||
|
||||
minutes = parse_json(.minutes, ) ?? {}
|
||||
. = merge!(., minutes)
|
||||
|
||||
.timestamp = .ts
|
||||
del(.ts)
|
||||
'''
|
||||
|
|
|
@ -7,6 +7,7 @@ data_dir = "/var/lib/vector/"
|
|||
"consul",
|
||||
"cron",
|
||||
"snmp_exporter",
|
||||
"alertmanager",
|
||||
]
|
||||
|
||||
[sources.journald.exclude_matches]
|
||||
|
|
Loading…
Reference in New Issue