-
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
Create OpenSearch output as fork diverges from ElasticSearch #11345
Comments
Thanks for filing a new issue. Some questions as my searching on Amazon docs seems to be failing me:
Thanks! |
Hi, Thanks for the answers. I took a look at their repo on GitHub and found opensearch-project/OpenSearch#3023 which is where the removal of the setting was discussed. It does sound like the eventual plan is to have users move to a new client and not expect backwards compatibility. However, the last comment leads us to opensearch-project/OpenSearch#3530 which is a revert and adds the compatibility mode back in for now. We already want/need to move to an elasticsearch-specific client due to the current library not getting further development, see olivere/elastic#1240 (comment) and olivere/elastic#1481. Ultimately, OpenSearch may need its own output plugin to itself as the fork diverges and/or the use of an OpenSearch specific client. Version 2.0.1 had this revert in it, however from the above I see you are also running 2.0.1. Are you running a beta version or a development version? |
I'm running the 2.0.1 stable Docker container :) But ES and OS will become more or less independent although similar. A separate output plugin would be the best future proof option I guess. |
2.1.0 restores the compatibility setting for now, but this is not a long term viable option. There is still a need for the opensearch specific output plugin |
Any update on this? |
Would really appreciate if someone can update about any future plans for this. |
Any update on this? |
+1 |
Any update on this? I meet the same question. |
hello Whether version checking can be turned off, I think the Opensearch api is compatible with elasticsearch API. just turn off the version check, the elasticsearch output plugin will be compatible with opensearch. |
To solve this problem, enable the compatibility mode of Opensearch, using the following command
|
THis is a temporary workaround (that was initially already disabledi n the 2.x branch). Disabling the version check is valid, for now. Compatibility is not guaranteed for the future, architecturally I would recommend two plugins. For now, the open search variant could be a copy of the elastic one with different version numbers in the check. This would future proof it. |
Instead of asking for updates, please look at the URL at the top of this issue that links to an open PR "May be fixed by #11958" A community member is actively working on this and we are working with him to resolve the lack of an official opensearch PR. |
Cool.thanks! |
Relevant telegraf.conf
Logs from Telegraf
System info
1.20.4
Docker
No response
Steps to reproduce
Expected behavior
Support opensearch output
Actual behavior
Crash
Additional info
No response
The text was updated successfully, but these errors were encountered: