[agent] interval = "5s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "5s" flush_jitter = "0s" #debug=true # Output Configuration for telegraf agent [[outputs.influxdb_v2]] ## Point to your influxdb container urls = ["http://influxdb:8086"] ## Token for authentication; created with the influxdb_cli service. token = "7km_XYOmaTnOrCSt2MReAyGT-nWmG5lSfyiS8e9rn3jjLaDTEaJzsP7KdnHI9sReAGgmKSAKK98EWUrEAZ0EyA==" ## Organization is the name of the organization you wish to write to; created with the influxdb_cli service. organization = "milvert" ## Destination bucket to write into; created with the influxdb_cli service. bucket = "MilvertBucket" #[[outputs.file]] #files = ["stdout", "/tmp/metrics.out"] #data_format = "influx" [[inputs.http_listener_v2]] ## Address and port to host HTTP listener on service_address = ":8081" ## Path to listen to. path = "/write" ## HTTP methods to accept. methods = ["POST", "PUT"] data_format = "influx"