-
Notifications
You must be signed in to change notification settings - Fork 1.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
Detect Elasticsearch version to handle doc_type appropriately #10342
Comments
As per the comment here the api is not always authorized. We may need to provide a fallback config option to specify the version. |
It's possible to detect the version at startup as mentioned in #13881 (comment), else fallback to configured version, else error during build if version isn't configured. |
My thought is similar, but slightly different: let users configure whether to use auto detection or a static version like:
If they configure auto and the detection fails then Vector should halt. Typically I imagine users will want to configure a specific API version. |
So a full proposal would be:
|
Yep! That is my thought. |
Re-opening since we had to temporarily revert PR in #15006. |
Community Note
Based on discussion from #9970 it would be a nicer user experience for Vector to detect Elasticsearch's version and appropriately handle the type name. Example from fluentd
The text was updated successfully, but these errors were encountered: