Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(outputs.elasticsearch): support data streams #15613

Merged

Conversation

cnemo-cenic
Copy link
Contributor

Summary

This provides a basic way to use Telegraf with Elasticsearch's data streams feature [1]. Usually you will manage the template yourself. This follows support upstream in the elasticsearch client library. [2]

[1] https://www.elastic.co/guide/en/elasticsearch/reference/7.17/set-up-a-data-stream.html

[2] olivere/elastic#1464

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #15051

This provides a basic way to use Telegraf with Elasticsearch's data
streams feature [1]. Usually you will manage the template yourself.
This follows support upstream in the elasticsearch client library. [2]

resolves influxdata#15051

[1] https://www.elastic.co/guide/en/elasticsearch/reference/7.17/set-up-a-data-stream.html
[2] olivere/elastic#1464
@telegraf-tiger telegraf-tiger bot added area/elasticsearch feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins labels Jul 9, 2024
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Jul 9, 2024

Copy link
Member

@DStrand1 DStrand1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cnemo-cenic for the PR, looks great to me!

@DStrand1 DStrand1 added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jul 9, 2024
@powersj powersj merged commit a8355c7 into influxdata:master Jul 9, 2024
27 checks passed
@github-actions github-actions bot added this to the v1.32.0 milestone Jul 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/elasticsearch feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elasticsearch output cannot be used with data streams
4 participants