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

Implement the creation of the stateless index template and index #45

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

AlexRuiz7
Copy link
Member

Description

This PR adds the stateless index template to the setup plugin.

Warning

Not functional. Raises the error below.

Caused by: org.opensearch.index.mapper.MapperParsingException: Failed to parse mapping [_doc]: No handler for type [scaled_float] declared on field [usage]

Issues Resolved

Closes #44

@AlexRuiz7 AlexRuiz7 self-assigned this Sep 11, 2024
@AlexRuiz7 AlexRuiz7 marked this pull request as ready for review September 12, 2024 15:37
@AlexRuiz7 AlexRuiz7 requested a review from a team as a code owner September 12, 2024 15:37
@AlexRuiz7
Copy link
Member Author

The problem was solved by temporarily swapping the data types to "float".

@AlexRuiz7 AlexRuiz7 merged commit 628d7a2 into master Sep 12, 2024
@AlexRuiz7 AlexRuiz7 deleted the 44-add-stateless-index-template branch September 12, 2024 15:43
f-galland pushed a commit that referenced this pull request Sep 12, 2024
* Implement the creation of the stateless index template and index

* Update stateless index template

* Update stateless index template
f-galland pushed a commit that referenced this pull request Sep 12, 2024
* Implement the creation of the stateless index template and index

* Update stateless index template

* Update stateless index template
f-galland pushed a commit that referenced this pull request Sep 12, 2024
* Implement the creation of the stateless index template and index

* Update stateless index template

* Update stateless index template
f-galland pushed a commit that referenced this pull request Sep 12, 2024
* Implement the creation of the stateless index template and index

* Update stateless index template

* Update stateless index template
f-galland pushed a commit that referenced this pull request Sep 12, 2024
* Implemente the creation of the stateless index template and index

* Update stateless index template

* Update stateless index template
AlexRuiz7 added a commit that referenced this pull request Sep 13, 2024
* Implemente the creation of the stateless index template and index

* Update stateless index template

* Update stateless index template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add generated stateless index template to the wazuh-setup plugin
2 participants