Questions tagged [telegraf-output-plugins]
24 questions
4
votes
1 answer
Log rotation for telegraf file output
I am going through https://github.com/influxdata/telegraf/tree/master/plugins/outputs/file
But there is no option to rotate the log file.
This is causing huge log files to be created which have to be deleted manually.
Once deleted manually,…

user2250246
- 3,807
- 5
- 43
- 71
3
votes
1 answer
How to filter metrics in Telegraf before sending them to Datadog?
I have a service that exposes metrics in statsd format and telegraf instance which picks those metrics and sends them to both Prometheus and Datadog (there are two output plugin configurations for both of these). This works correctly.
However, I…

Bakir Jusufbegovic
- 2,806
- 4
- 32
- 48
2
votes
1 answer
How to tail Remote Log File's Using Telegraf
Hi i am new to Telegraf and Influxdb. I know that we can tail (monitor) a local file(on the same machine where Telegraf is installed) using Telegraf and send the output to Influxdb using [[inputs.tail]] and [[outputs.influxdb]] plugin's of…

Mohd Waseem
- 1,244
- 2
- 15
- 36
1
vote
0 answers
How to get a list of available input- and output-filters for telegraf
Is there any way to get a list which input- and output-filters are currently supported by a given installation?

frlan
- 6,950
- 3
- 31
- 72
1
vote
1 answer
telegraf output to Elasticsearch: "health check timeout: no Elasticsearch node available"
I'm having trouble connecting to an Elasticsearch instance with a Telegraf output plugin.
I created an Elasticsearch setup via the Elasticsearch service. I created a user and password (connected to a role) in Kibana for it.
Then I setup a Telegraf…

Mike
- 1,169
- 9
- 26
1
vote
1 answer
Configure Multiple output plugins with telegraf
I have multiple input telegraf input plugins for every application and they are separated by the app.toml files. output plugin for all of them is configured in the global telegraf.conf file to write to InfluxDB
Now I am trying to introduce new app…

user3435964
- 663
- 1
- 11
- 23
1
vote
0 answers
Telegraf output plugin to submit metric to datadog agent
Is anyone aware if there is any telegraf output plugin to submit metric to datadog agent? I can see a datadog output plugin which calls datadog metric api but not anything to submit data to datadog agent.

tuk
- 5,941
- 14
- 79
- 162
1
vote
1 answer
Is it possible to configure secure(SSL) kafka with Telegraf?
Started working with TICK stack, I'm quite new to this. A dedicated machine is assigned for TICK to run and receive data. To begin with I have sent metrics from 3 instances to TICK stack using udp and everything is good. Now, I would like to send…

srikanth
- 958
- 16
- 37
1
vote
1 answer
Telegraf test input and output plugins error multiple conf files
Telegraf version: Telegraf v1.0.1
I have the following files:
/etc/telegraf/telegraf.conf
main config file (which you create/get for free while installing telegraf). This file doesn't have any [[output.]] stanza in it but does have valid…

AKS
- 16,482
- 43
- 166
- 258
0
votes
0 answers
Telegraf MQTT input data flatten
How can I use Telegraf to extract timestamp and sensor value from an MQTT message and insert it into a PostgreSQL database with separate timestamp and sensor value columns?
I am receiving this JSON object from MQTT:
{"sensor": "current", "data":…
0
votes
0 answers
telegraf gives different results when testing
Running telegraf 1.24.0
telegraf -config ./telegraf.conf -test -once 1>output 2>err
In my telegraf.conf I have
[[outputs.file]]
files=["stdout"]…

NinjaGaiden
- 3,046
- 6
- 28
- 49
0
votes
1 answer
How to echo variable env in telegraf [[input.exec]]
I have a variable env and I want to get it in telegraf. I use [[inputs.exec]]
My code:
[[inputs.exec]]
commands = ["echo $val_env"]
data_format = "value"
data_type = "string"
name_override = "value_A"
But I can't get this value $val_env. I also…

Tai Do
- 117
- 1
- 8
0
votes
1 answer
Import data from Influxdb_V2 to Spring Boot application
I am trying to fetch data from influxdb(version 2) bucket into my Spring Boot application. I have not found any references on google to implement this feature.
Can anyone help me in this my providing any references or documentation so I can…

Prajyod Kumar
- 395
- 2
- 4
- 15
0
votes
1 answer
How to send data in log file to MongoDB using Telagraf?
Telegraf agent seems not to send data to MongoDB
I am trying to collect log file data like Apache-Tomcat's access_log, app_log, etc using Telegraf and send it to MongoDB 6.x version to store data.
So, these are what I did.
downloaded Telegraf…

leeyounsoo
- 19
- 4
0
votes
1 answer
How to write log data from a file to Splunk
An application writes its logs into files which are saved e.g in /home/my-user/myapp/ directory.
I want to send the data (logs) from those files to Splunk.
I was thinking to use [inputs.file] or [inputs.tail] plugins in Telegraf.
In order to verify…

ssazonau
- 68
- 6