-
Notifications
You must be signed in to change notification settings - Fork 3
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
Adding updated templates #148
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
All the indices' mappings seem to be loaded properly: (env) fede@tyner:~/src/wazuh-indexer/ecs (master)
$ for i in $(ls -1 ~/IdeaProjects/wazuh-indexer-plugins/plugins/setup/src/main/resources/); do TEMPLATE=${i%.json}; echo ${TEMPLATE}; curl -s http://localhost:9200/_template/"${TEMPLATE}" | jq '."'${TEMPLATE}'".mappings.properties | keys'; done
index-template-agent
[
"agent"
]
index-template-alerts
[
"@timestamp",
"agent",
"client",
"cloud",
"container",
"data_stream",
"destination",
"device",
"dll",
"dns",
"ecs",
"email",
"error",
"event",
"faas",
"file",
"group",
"host",
"http",
"labels",
"log",
"message",
"network",
"observer",
"orchestrator",
"organization",
"package",
"process",
"registry",
"related",
"rule",
"server",
"service",
"source",
"span",
"threat",
"tls",
"trace",
"transaction",
"url",
"user",
"user_agent",
"vulnerability"
]
index-template-commands
[
"agent",
"command"
]
index-template-fim
[
"agent",
"file",
"host",
"registry"
]
index-template-hardware
[
"@timestamp",
"agent",
"host",
"observer"
]
index-template-hotfixes
[
"@timestamp",
"agent",
"host",
"package"
]
index-template-networks
[
"@timestamp",
"agent",
"host",
"network",
"observer"
]
index-template-packages
[
"@timestamp",
"agent",
"host",
"package"
]
index-template-ports
[
"@timestamp",
"agent",
"destination",
"device",
"file",
"host",
"network",
"process",
"source"
]
index-template-processes
[
"@timestamp",
"agent",
"host",
"process"
]
index-template-system
[
"@timestamp",
"agent",
"host"
]
index-template-vulnerabilities
[
"agent",
"host",
"package",
"vulnerability",
"wazuh"
] |
AlexRuiz7
approved these changes
Nov 13, 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.
LGTM
/_cat/templates?v
name index_patterns order version composed_of
index-template-alerts [wazuh-alerts-5.x-*] 0
index-template-vulnerabilities [wazuh-states-vulnerabilities*] 0
index-template-commands [.commands*] 0
index-template-hardware [wazuh-states-inventory-hardware*] 0
index-template-system [wazuh-states-inventory-system*] 0
index-template-hotfixes [wazuh-states-inventory-hotfixes*] 0
index-template-ports [wazuh-states-inventory-ports*] 0
index-template-packages [wazuh-states-inventory-packages*] 0
index-template-agent [.agents*] 0
index-template-networks [wazuh-states-inventory-networks*] 0
index-template-fim [wazuh-states-fim*] 0
index-template-processes [wazuh-states-inventory-processes*] 0
/_cat/indices/.*?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .agents XzpKkFWBRymAwnMh2SbeZg 1 0
green open .commands jto3W0UUQKOyGc1Scz3yIg 1 0
/_cat/indices?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open wazuh-states-inventory-hardware xDTia8PnRRSLj4kEQvbVSg 1 0
green open wazuh-states-vulnerabilities N2OQnn6JTc6gkdTwb3xuMQ 1 0
green open wazuh-states-fim 8WgImOGtRhSlytYVA919Vw 1 0
green open wazuh-alerts-5.x-0001 ctlC2trfS3K2B3DIIQzTkA 1 0
green open wazuh-states-inventory-hotfixes gLFA2L1YStyF8CciDkLQAA 1 0
green open wazuh-states-inventory-ports 85-vtO07RbmoROpZaUEd7A 1 0
green open wazuh-states-inventory-system E-Rea-ogSjSie6yOlzBDQA 1 0
green open wazuh-states-inventory-networks MTyuuRyzRFWPoHPSoUgfuA 1 0
green open wazuh-states-inventory-packages IAN-7eSJTbyIGQ4prJ1Xdg 1 0
green open wazuh-states-inventory-processes 5BftT0SQQ5SMG9ZbeC-wQQ 1 0
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 adds updated templates after changes brought in by:
Issues Resolved
Resolves #147