Telegraf Loki Authentication is limited to ASCII Chars with total of 128 chars. Certain Cloud providers (e.g. Grafana Cloud) use much longer Authentication tokens, these can not be manually changed / shortened if a native log transfer to the cloud is desired. Currently the only workaround is to send to local target (i.e Alloy) first to relay to the cloud
vyos@core1# set service monitoring telegraf loki authentication password glc_eyJvIjoiNjE0OTc0IiwibiI6InN0YWNrLTMyOTU4OS1obC13cml0ZS1sb2dzLW1ldHJpY3Mtd3JpdGUtdnlvcyIsImsiOiJZNXAzZTAxNVJJVDBBYm43SjNGczVBdzciLCJtIjp7InIiOiJldSJ9fQ== Password is limited to ASCII characters only, with a total length of 128 Value validation failed Set failed
## echo glc_eyJvIjoiNjE0OTc0IiwibiI6InN0YWNrLTMyOTU4OS1obC13cml0ZS1sb2dzLW1ldHJpY3Mtd3JpdGUtdnlvcyIsImsiOiJZNXAzZTAxNVJJVDBBYm43SjNGczVBdzciLCJtIjp7InIiOiJldSJ9fQ== |wc -c 157
Proposal: increase limit to higher value