add conf
This commit is contained in:
parent
f7d0087df9
commit
c76eb57f12
|
|
@ -0,0 +1,39 @@
|
|||
# Telegraf configuration
|
||||
|
||||
[global_tags]
|
||||
station = "station000"
|
||||
|
||||
[agent]
|
||||
interval = "1s"
|
||||
round_interval = true
|
||||
metric_batch_size = 1000
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "1s"
|
||||
flush_jitter = "0s"
|
||||
precision = "0s"
|
||||
debug = false
|
||||
quiet = true
|
||||
logfile = "/var/log/telegraf/telegraf.log"
|
||||
logfile_rotation_interval = "1d"
|
||||
logfile_rotation_max_size = "128MB"
|
||||
logfile_rotation_max_archives = 7
|
||||
log_with_timezone = "local"
|
||||
omit_hostname = true
|
||||
skip_processors_after_aggregators = true
|
||||
|
||||
[[outputs.influxdb_v2]]
|
||||
urls = ["http://192.168.46.100:8086"]
|
||||
token = "kKtMhMj5ISrnrCAO1ugvL4D4c_HrbAv4HzSHGA3Ai1AeBIEmGbQpQY0qSwjaXYluOmuDAv0zAvFCRRqEWQ0zJw=="
|
||||
organization = "eCL3000"
|
||||
bucket = "ssuBucket"
|
||||
|
||||
[[inputs.cl_kafka_consumer]]
|
||||
brokers = ["localhost:9092"]
|
||||
kafka_version = "3.9.0"
|
||||
topics = ["ssu000_Phasor"]
|
||||
topic_tag = "device"
|
||||
consumer_group = "telegraf_phasor_consumers"
|
||||
compression_codec = 4
|
||||
max_message_len = 1000000
|
||||
data_format = "phasor_binary"
|
||||
Loading…
Reference in New Issue