modules/c3d2: make vector mqtt client_id unique

This commit is contained in:
Astro 2022-09-13 01:48:25 +02:00
parent cccce38fe4
commit f2a17e6e83
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ in
# port = 8883;
user = "SECRET[mqtt.user]";
password = "SECRET[mqtt.password]";
client_id = "vector-${config.networking.hostName}";
encoding.codec = "json";
topic = "journal/{{ host }}/{{ _SYSTEMD_UNIT }}/{{ PRIORITY }}";
# tls.enabled = true;