Hello All,
I have a docker telegraf 1.18 and it’s working fine. Whenever a new file uploads into the s3 bucket it triggers the lambda function and it triggers the kinesis and telegraf and update the data into the influxdb.
Now i changed the telegraf to 1.30 and I changed the few telegraf config files to run the telegraf container:
My config files are as below:
4g-agent-telegraf.conf:
[agent]
interval = “10s”
debug = false
metric_buffer_limit = 100000
metric_batch_size = 8000
omit_hostname = true
logtarget = “file”
logfile = “/etc/telegraf/log/telegraf.log”
logfile_rotation_max_size = “10MB”
logfile_rotation_max_archives = 3
4g-input-telegraf.conf:
[[inputs.kinesis_consumer]]
region = “${REGION}”
max_undelivered_messages = 500000 #2,00,000 #20,00,000
#interval = “1s” #6s
access_key =“${ACCESS_KEY}”
secret_key = “${SECRET_KEY}”
streamname = “chronos_4g_cu_om”
shard_iterator_type = “LATEST”
data_format = “csv”
csv_header_row_count = 1
csv_tag_columns = [“column names”]
processor-telegraf.conf:
[[processors.converter]]
[processors.converter.tags]
measurement = [“type”]
[processors.converter.fields]
tag = [“BcMacId”,“operatorName”,“eNBName”,“PlmnIdentity”,“cellName”,“eNodeBId”,“NoOfController”]
telegraf container logs:
2024-06-24T07:19:28Z I! Starting Telegraf 1.30.0 brought to you by InfluxData the makers of InfluxDB
2024-06-24T07:19:28Z I! Available plugins: 233 inputs, 9 aggregators, 31 processors, 24 parsers, 60 outputs, 6 secret-stores
2024-06-24T07:19:28Z I! Loaded inputs: kinesis_consumer (4x)
2024-06-24T07:19:28Z I! Loaded aggregators:
2024-06-24T07:19:28Z I! Loaded processors: converter
2024-06-24T07:19:28Z I! Loaded secretstores:
2024-06-24T07:19:28Z I! Loaded outputs: file (2x) influxdb_v2 (6x)
2024-06-24T07:19:28Z I! Tags enabled:
2024-06-24T07:19:28Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:“”, Flush Interval:10s
In the cloud watch I am able to see the lambda function triggered and data pushed to stream. But the telegraf not able to read the data.
Any config which I missed?
Thanks in Advance.