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

Remove logs.level app setting #6810

Merged
merged 5 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion source/cloud-security/amazon/services/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The below information is intended to assist in troubleshooting issues.
Checking if the module is running
---------------------------------

When the module runs it writes its output in the ``ossec.log`` file. This log file can be found in ``WAZUH_PATH/logs/ossec.log`` or under **App Logs** if using the Wazuh UI.
When the module runs it writes its output in the ``ossec.log`` file. This log file can be found in ``WAZUH_PATH/logs/ossec.log`` and under **Server management** > **Logs** if using the Wazuh UI.

It is possible to check if the module is running without issues by looking in the ``ossec.log`` file. These are the messages that are displayed in the ``ossec.log``, depending on how the module has been configured:

Expand Down
Binary file removed source/images/kibana-app/features/settings/logs.png
Binary file not shown.
12 changes: 0 additions & 12 deletions source/user-manual/wazuh-dashboard/config-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,6 @@ Disable certain index pattern names from being available in the index pattern se
| **Allowed values** | Array of strings. Eg: ["wazuh-archives-\*"] |
+--------------------+---------------------------------------------+

logs.level
^^^^^^^^^^

Set the logging level for the Wazuh dashboard log files.

+--------------------+------------+
| **Default value** | info |
+--------------------+------------+
| **Allowed values** | info,debug |
+--------------------+------------+

hideManagerAlerts
^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -554,7 +543,6 @@ This is an example of the wazuh.yml configuration:
timeout: 20000
ip.selector: true
ip.ignore: []
logs.level: info
hideManagerAlerts: true

# Monitoring
Expand Down
9 changes: 0 additions & 9 deletions source/user-manual/wazuh-dashboard/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ You can take a quick look at the Wazuh dashboard configuration file here. The do
:align: center
:width: 100%

Logs
----

The Wazuh dashboard stores log information on the ``/usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log`` file. These logs can be helpful for troubleshooting purposes.

.. thumbnail:: ../../images/kibana-app/features/settings/logs.png
:align: center
:width: 100%

About
-----

Expand Down
2 changes: 1 addition & 1 deletion source/user-manual/wazuh-dashboard/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Check the following log files:

# journalctl -u wazuh-dashboard

# cat /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log | grep -i -E "error|warn"
Desvelao marked this conversation as resolved.
Show resolved Hide resolved
# journalctl -u wazuh-dashboard | grep -i E "error|warn"

.. note::
The Wazuh indexer uses the ``/var/log`` folder to store logs by default.
Expand Down