I am running one container of Influxdb 2.0 and one container of telegraf and I am getting data from the AWS kinesis and using telegraf as a plugin to push into influxdb. Everything I was working fine where I was using influxdb 1.8 version and I was getting data into influxdb using kinesis as well but recently I updated my influxdb 1.8 to influxdb 2.0 now telegraf plugin is not working fine. I tried manually configuring the telegraf from the influxdb 2.0 and still, it’s giving errors.
Telegraf Configuration
[[outputs.influxdb_v2]]
## urls exp: http://127.0.0.1:8086
##urls = ["http://influxdb:8086"]
urls = ["http://14.206.177.28:8086"]
token = "$INFLUX_TOKEN"
organization = "airvana"
bucket = "onecell_logs"
[[inputs.kinesis_consumer]]
region = "ap-south-1"
access_key ="AKIAZWANSIFMDYO"
secret_key = "mWEBI4UbErGwI9GCDE8RrFU+GPfpgyuL/yMd+8"
profile = "arn:aws:iam::666268854852:instance-profile/ec2_to_aws_admin"
streamname = "atlas_cu_om"
shard_iterator_type = "TRIM_HORIZON"
data_format = "csv"
csv_header_row_count = 1
csv_tag_columns = ["node","operatorName","type"]
csv_timestamp_column = "datetime"
csv_timestamp_format = "2006-01-02T15:04:05"
In URLs, I am not sure we have to pass the IP and port or influxdb:port. I tried with both but still, I am getting errors.
thanks