
Hi again Fab,
By default, it is not possible to directly inspect the log files in the Wazuh dashboard. You will be able only to see the entries that have generated an alert (when such log alert level is equal to or higher than the value log_alert_level set on the ossec.conf file of the manager). You can filter the alerts by the location where it should be the full path to the log file you are trying to see.
Another option would be to enable the logall option on your manager’s ossec.conf file, but this is not recommended because it might consume a lot of disk space as it would store every single log that arrives at the manager.
Do you really need to inspect the whole file or what is what you are trying to do or see?
Best regards,
Mariano
In order to display all the incoming logs in the dashboard, the following steps are needed:
<logall_json>yes</logall_json> under the <global> tag in the /var/ossec/etc/ossec.conf file of your manager.# /var/ossec/bin/ossec-control restart) After doing so, now all the incoming events should start to be logged in the /var/ossec/logs/archives/archives.json file.
archives.json file. This can be achieved by modifying the /etc/filebeat/filebeat.yml and adding the /var/ossec/logs/archives/archives.json file to the paths as follows:filebeat.inputs:
- type: log
paths:
- /var/ossec/logs/alerts.json
- /var/ossec/logs/archives/archives.json
# systemctl restart filebeat or # service filebeat restartAfter doing so, you should be able to see every single log on your dashboard. Some logs might be duplicated as the archives.json file is a dump of the archives.json file which logs have the alert level equal to or higher than the configured log_alert_level.
About the errors that you mention from Tomcat, it depends on the decoders and rules that process such logs. If you have some example logs maybe we can have a better understanding.
Best regards,
Mariano Koremblum
I am sorry Fab, the name changed to wazuh-control (instead of ossec-control).
I would recommend you take a look at the following link where the main options of the dashboard are displayed: https://documentation.wazuh.com/current/getting-started/components/wazuh-dashboard.html
There are many things to see around, what are you specifically looking for?
Regards,
Mariano Koremblum



