Skip to content
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

[Enhancement] Support custom index template for ES 6 in opensearch sink #3060

Open
chenqi0805 opened this issue Jul 25, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@chenqi0805
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently the index_type defaults to management_disabled when distribution_version is set to es6. This is due to old index mapping schema in ES 6:

org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [illegal_argument_exception] Malformed [mappings] section for type [dynamic_templates], should include an inner object describing the mapping
	at org.opensearch.client.transport.aws.AwsSdk2Transport.parseResponse(AwsSdk2Transport.java:492) ~[opensearch-java-2.5.0.jar:?]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants