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

Add how to create wazuh-archives-* index via curl #7434

Open
wants to merge 1 commit into
base: 4.8
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion source/user-manual/manager/wazuh-archives.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ Wazuh dashboard
:align: center
:width: 80%

#. Alternatively, the ``wazuh-archives-*`` index can be created via the command line using curl with the admin password:

.. code-block:: bash

$ curl -k -u admin:"$ADMIN_PASS" -X PUT "https://127.0.0.1:9200/_index_pattern/wazuh-archives-" -H 'Content-Type: application/json' -d '{"index_pattern":"wazuh-archives-*","priority":100,"time_field":"timestamp","fields":[{"name":"@timestamp","type":"date","format":"date_time"}]}'


Use case: Detecting signed binary proxy execution
-------------------------------------------------

Expand Down Expand Up @@ -406,4 +413,4 @@ Use the Wazuh archives to query and display events related to the technique bein
}
},

You can use events from the Wazuh archives to develop detection logic and write custom decoders and rules. You can use the out-of-the-box ``wazuh-logtest`` tool to test and verify rules against provided logs. For more information, see the :doc:`Custom rules and decoders </user-manual/ruleset/index>` and the :doc:`wazuh-logtest </user-manual/reference/tools/wazuh-logtest>` documentation.
You can use events from the Wazuh archives to develop detection logic and write custom decoders and rules. You can use the out-of-the-box ``wazuh-logtest`` tool to test and verify rules against provided logs. For more information, see the :doc:`Custom rules and decoders </user-manual/ruleset/index>` and the :doc:`wazuh-logtest </user-manual/reference/tools/wazuh-logtest>` documentation.