## NATS output with jetstream stream config provided [[outputs.nats]] ## URLs of NATS servers servers = ["nats://localhost:4222"] subject = "telegraf-subject" data_format = "influx" [outputs.nats.jetstream] name = "my-telegraf-stream" retention = "workqueue" max_consumers = 10 discard = "old" storage = "memory" max_msgs = 100000 max_bytes = 104857600 # 100 MB max_age = 86400000000000 # in the int64 format num_replicas = 1