-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegraf fails to write data to Elasticsearch #5676
Comments
What version of Elasticsearch are you using? Did reverting to Telegraf 1.7 fix the issue? |
I am facing the same issue.
Elasticsearch version: 6.4.2 Telegraf version (same error for both versions of telegraf)
Conf
|
@danielnelson we are using Elasticsearch 6.1.1. And we write directly to it, we are not using Logstash or any other queuing product. |
I came across this issue and I wanted to see if this is still persistent with the latest version of Telegraf as it's been quite awhile. |
Relevant telegraf.conf:
System info:
OS: RHEL 7.6
CPU: 8 cores
RAM: 16G
Telegraf versions:
Issue noticed in telegraf versions:
1.9.4-1
1.10.1-1
Everything was working fine in telegraf version:
1.7.4-1 and lower.
Steps to reproduce:
When we run server with telegraf-1.10.1-1 we dont get most of the metrics and telegraf starts generating log provided below. It seems what telegraf fails to communicate with Elasticsearch.
Also I am collecting telegraf self monitoring with inputs.internal and I see that buffer_size behave different, see screenshot.
Expected behavior:
We run thousands inputs.snmp instances to collect various SNMP counters and write data to two Elasticsearch outputs. With telegraf-1.7.4-1 and lower everything worked fine. Metrics was successfully collected and successfully written to output.
Actual behavior:
After upgrading to telegraf-1.10.1-1 we noticed that we are missing data, some random points gets written but most are missing. We also checked telegraf-1.9.4-1 and got same behavior.
Additional info:
Also one more thing that was not seen before is that them trying to stop service, telegraf-1.10.1 does not correctly:
The text was updated successfully, but these errors were encountered: