forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Update indices with agents information #544
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AlexRuiz7
changed the title
Update .agents index data model
Update indices with agents information
Nov 12, 2024
AlexRuiz7
requested changes
Nov 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to add these agents' related fields to the indices:
name
type
version
See the example in #525.
I also noticed the wazuh-states-vulnerabilities
index uses all the agent
fields. Let's make it consistent with the rest of the indices.
AlexRuiz7
approved these changes
Nov 13, 2024
AlexRuiz7
added a commit
that referenced
this pull request
Nov 18, 2024
* Migrate 525 to 2.17.1 * Adding custom agent.host custom field definitions to remaining indices * Add custom fields to index templates * Fix host custom schema * Fix host custom schema in networks template * Fix host custom schema in ports template * Fix host field in states-vulnerabilities * Include specific agent fields in alerts index subset * Add agent and host fields to states-fim * Add host fields to alerts top level * Add agent fields to states-inventory-hardware * Add agent fields to states-inventory-hardware * Add agent fields to states-inventory-hotfixes * Add agent fields to states-inventory-packages * Add agent fields to states-inventory-ports * Add agent fields to states-inventory-processes * Add agent fields to states-inventory-system * Add all-in-one script --------- Co-authored-by: Alex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR renames the
agent.is_connected
field toagent.status
. It also adds all thecore
fields from thehost
schema nested below theagent
field in order to facilitate cross index correlation.Related Issues
Resolves #525, resolves #539