Questions tagged [telegraf-plugins]
54 questions
0
votes
0 answers
Get tomcat status with telegraf
Is there a simple and efficient way to get the status of a tomcat server with telegraf?
I already tried jolokia-agent over jmx with the "Uptime" property but the problem is when i stop my tomcat server i still get values for "Uptime".

TheLaughingMan
- 35
- 5
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
0
votes
0 answers
Error in plugin: Invalid JSON provided, unable to parse
I'm using docker to bring up Telegraf,InfluxDB,Grafana.
I'm using amqp_consumer input plugin in Telegraf conf file.
I'm getting the error
E! [inputs.amqp_consumer] Error in plugin: Invalid JSON provided, unable to parse.
I have enabled debug level…

Prajyod Kumar
- 395
- 2
- 4
- 15
0
votes
3 answers
Suricata IDS/Telegraf error: Client message is too long, disconnect him
I have a problem connecting Suricata with Telegraf, using unix_stream socket:
Host: Ubuntu 20.04
Docker: SURICATA_VERSION=6.0.6
Docker: INFLUXDB_VERSION=2.1.1
Docker: TELEGRAF_VERSION=1.21
Suricata confg:
- eve-log:
enabled: yes
filetype:…

sfl0r3nz05
- 547
- 8
- 14
0
votes
1 answer
How to change the interval of a plugin in telegraf?
Using: telegraf version 1.23.1
Thats the workflow Telegraf => Influx => Grafana.
I am using telegraf to check my metrics on a shared server. So far so good, i already could initalize the Telegraf uWSGI Plugin and display the data of my running…

black_hole_sun
- 908
- 11
- 41
0
votes
1 answer
How to read the data from MQTT Consumer from queue instead of topic using the telegraf
I have an ActiveMQ broker and data is coming to the queue inside this broker.
I am trying to read the data from the same broker but I am not able to read the data.
Below I have given my telegraf configuration. I have provided the topic name.
I tried…

Ravi kant Gautam
- 333
- 2
- 23
0
votes
1 answer
telegraf on windows - inputs.docker error in plugin cannot connect to the docker daemon
I have this configuration:
# Read metrics about docker containers
[[inputs.docker]]
## Docker Endpoint
## To use TCP, set endpoint = "tcp://[ip]:[port]"
## To use environment variables (ie, docker-machine), set endpoint = "ENV"
endpoint…

Rony Tesler
- 1,207
- 15
- 25
0
votes
1 answer
Precision gets lost for big number in telegraf
Precision gets lost for big number.
I am using tail input plugin to read file and data inside a file is in json format.
Below is the configuration
[inputs.tail]]
files = ["E:/Telegraph/MSTCIVRRequestLog_*.json"]
from_beginning = true
…

kamlesh jayaswal
- 1
- 1
0
votes
2 answers
Telegraf Regex expression to fetch last string
As per my requirement I want to fetch last few characters in a string.
For example my string is "hello/how/are/you", here I want only "are/you".
[[processors.regex]]
order = 1305
namepass = ["*_promitor_test"]
# Tag and field conversions…

svw1105
- 127
- 1
- 15
0
votes
1 answer
In Telegraf how to include only specific values of a tag
I am using a prometheus plugin in Telegraf to get the data from promitor and push it to InfluxDB. However, as per my requirement there is one tag named as "resource_name" and it contains multiple values let's say ["A", "B", "C", "D", "E", "F", "G",…

svw1105
- 127
- 1
- 15
0
votes
1 answer
Aggregate data in Telegraf only by time, not by tags
I use Telegraf to collect data and then write it to InfluxDb. And I would like to aggregate the data into one row. As I know there are a lot of plugins for Telegraf including plugins to aggregate data. I use BasicStats Aggregator Plugin for my…

Pupkin
- 1,211
- 3
- 13
- 30
0
votes
0 answers
telegraf enum plugin not injecting the correct destination field
I have the following telegraf configurations:
[[inputs.http_response]]
name_override="test"
address="https://localhost:12345/test"
response_timeout="5s"
method="GET"
follow_redirects=false
insecure_skip_verify = true
response_string_match="test is…

justanotheruser1019
- 47
- 4
0
votes
1 answer
Telegraf Tail file that contains json data to Influx
How can I extract the json data into influx by tailing a file that has the JSON data?
EG:
My logs are like this:
2020-12-01T18:34:06+02:00 10.132.90.194 {"wfd_successful_hits_sec": "0", "sql_hits_sec_max": "0", "timestamp": "2020/12/01 18:34:01",…

sarvesh.lad
- 125
- 7
0
votes
1 answer
How to get time stamp for the date and time which is already in my data?
I am reading the data from kinesis and inserting it into the Telegraf. Data is coming in Telegraf and this data going in Influxb. The timestamp is being added automatically. I already have date and time column in my data. I want to insert the…

Ravi kant Gautam
- 333
- 2
- 23
0
votes
1 answer
Run [[processors.regex]] over multiple measurements
Is it possible to run the regex preprocessor over multiple measurements like that?
[[processors.regex]]
namepass = ["measure1", "measure2"]
[[processors.regex.fields]]
key = "agent"
pattern = '^.*$'
replacement = "NORMAL"
…

Erando
- 811
- 3
- 13
- 27