Questions tagged [telegraf-plugins]
54 questions
4
votes
2 answers
How do I troubleshoot this error in telegraf?
I have a custom python plugin that I am using to pull data into Telegraf. It prints out line protocol output, as expected.
In my Ubuntu 18.04 environment, when this plugin is run I see a single line in my logs:
2020-12-28T21:55:00Z E! [inputs.exec]…

TeleNoob
- 48
- 1
- 10
3
votes
1 answer
How to check plugin status in telegraf?
This is self added Q & A. I am using telegraf's Telegraf 1.14.0 version, I have configured a few input.exec for plugins in my telegraf.conf file, now wanted to check if my configuration is working fine with all configured plugins(eg-->status on…

RavinderSingh13
- 130,504
- 14
- 57
- 93
2
votes
1 answer
Telegraf can not connect to Docker sock
I try to gather some metrics about my Docker containers using Telegraf. I have mounted the docker sock to it but I still receive an error message. What am I missing here?
volumes:
- ./data/telegraf:/etc/telegraf
-…

Dennis Roth
- 85
- 1
- 7
2
votes
0 answers
Issue with Kafka consumer (provided member is not known in the current generation)
I am using Telegraf with Kafka consumer input plugin to forward the messages to InfluxDB. The Telegraf logs show the following when trying to consume from Kafka server
Apr 12 11:25:13 algtigtelegraf telegraf[848255]: 2021-04-12T08:25:13Z E!…

Marios Karatisoglou
- 173
- 1
- 13
2
votes
3 answers
How to round output values in telegraf?
I'm looking for a way to round the values output from telergaf. Temperature, usage_idle, memory_usage, etc... to 14 decimals is very huge. It too much for me. It can double some of my measurements.
I haven't found a way to do it easily.
Now I have…

Julien Brdy
- 93
- 9
2
votes
1 answer
How to rename fields from multiple input processors with identical names
I am using Telegraf and I have multiple input.http plugins returning the same field names and want to distinguish between them.
I am calling ElasticSearch for different search criteria, the JSON structure returned is always the same, so while I can…

Remy
- 49
- 9
2
votes
1 answer
Dynamically updating Telegraf config with agent hosts?
I have a number of network switches in my infrastructure and I have been using telegraf to collect data traffic information from switches with snmp. So far switch IP addresses were added to the config statically. I was wondering if it is possible to…

A. Smith
- 75
- 1
- 1
- 9
1
vote
1 answer
Telegraf: How to extract from field using regex processor?
I would like to extract the values for connections, upstream and downstream using telegraf regex processor plugin from this input:
2022/11/16 22:38:48 In the last 1h0m0s, there were 10 connections. Traffic Relayed ↑ 60 MB, ↓ 4 MB.
Using this…

Jan
- 13
- 4
1
vote
1 answer
Telegraf on Kubernetes: Error: Service "telegraf" is invalid: spec.ports: Required value
what do I want to do?
I'm trying to deploy telegraf in my Kubernetes cluster so that I can use Telegraf's Prometheus input plugin to read the data (metrics) from a particular URL and write the metrics in a file using telegraf's output file…

Chandhana
- 11
- 1
1
vote
0 answers
Telegraf adds random +1 to +10 nanoseconds to my timestamp
I’m on influxdb2 (cloud) and i’m getting a really weird situation:
I’m using telegraf’s tail plugin to collect logs and push them to a bucket, my timestamp (which is written in epoch) gets reformatted to ns and telegraf is adding random offset to…

zfou
- 891
- 1
- 10
- 33
1
vote
0 answers
Writing Telegraf Input Plugin - Is Contribution Guide Up to Date?
I've recently attempted at creating my own Telegraf input plugin to collect metrics from a Tibit OLT (https://tibitcom.com/). I apologise that I haven't any previous experience with Golang, and no one to ask who does have experience with it, so I'm…

Charlie Clarke
- 177
- 1
- 9
1
vote
1 answer
Configure two custom plugins in telegraf
I have created a custom plugin and it works well. And dockerize that custom plugin then also it works well.
What I want to do is create one more custom plugin and dockerize that plugin. And set these two dockerize custom plugins in my telegef.conf…

EDISON J
- 324
- 3
- 12
1
vote
4 answers
How to replace Telegraf's default timestamp?
I use telegraf to send some data from a database to InfluxDB in regular intervals which works fine apart from one issue:
I need to replace telegraf's auto-generated timestamp (which is the current time at the moment of telegraf reading the data to…

Peter Bugla
- 38
- 4
1
vote
1 answer
Telegram new version- send poll API
I'm developing bot using telegram API and node (using telegraf repo).
All the users that use Telegram's new version (V6.1.0) have the following bug:
As you can see- the 'vote' button is missing. Anyone knows this bug?
I checked and in groups the…

Reut Schremer
- 348
- 2
- 15
1
vote
1 answer
Stream data to Influx cloud by telegraf
can anyone help me to set streaming by telegraf into cloud InfluxDB? I use this tutorial, python script launches on my local machine and it pushing notification into rabbitMQ. Telegraf subscribed to rabbitMQ by this config.
# Configuration for…

dos4dev
- 429
- 2
- 10
- 26