-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Elasticsearch output - Add support up to ES 7.x #6053
Conversation
Is there a possibility to add Elasticsearch output to send to Elasticsearch service in AWS where it may need to be signed before initiating the connection similar to running a AWS proxy |
Elasticsearch output uses Elastic client (https://github.com/olivere/elastic) and it seems to be possible with few changes: https://github.com/olivere/elastic/wiki/Using-with-AWS-Elasticsearch-Service As I don't use AWS Elasticsearch myself it would be difficult for me to implement that correctly. |
Thanks will look into the referenced Elastic client and create a raise a Feature request |
This PR adapts the index template to work on versions 6.x and 7.x while still supporting 5.x
Also it removes the mapping type on ES 7.x as mapping types are deprecated. Telegraf still sets the mapping type to "metrics" to keep backwards compatibility on previous ES versions.
Tested manually on versions 5.6, 6.0, 6.8 and 7.2
closes #5780
closes #4268
Required for all PRs: