cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
[2024-07-01T09:31:07,482][ERROR][o.o.s.i.DetectorIndexManagementService] [node-1] info deleteOldIndices
[2024-07-01T09:31:07,482][ERROR][o.o.s.i.DetectorIndexManagementService] [node-1] info deleteOldIndices
[2024-07-01T09:31:07,505][ERROR][o.o.a.a.AlertIndices ] [node-1] info deleteOldIndices
[2024-07-01T09:31:07,505][ERROR][o.o.a.a.AlertIndices ] [node-1] info deleteOldIndices
cat /var/log/filebeat/filebeat* | grep -i -E "error|warn" cat /var/ossec/logs/ossec.log | grep -i -E "error|warn"
/var/ossec/logs/ossec.log:2024/07/01 10:40:34 wazuh-analysisd: WARNING: Mitre Technique ID 'T1110.001' not found in database.
/var/ossec/logs/ossec.log:2024/07/01 10:40:34 wazuh-analysisd: WARNING: Mitre Technique ID 'T1021.004' not found in database.
/var/ossec/logs/ossec.log:2024/07/01 10:40:36 wazuh-analysisd: WARNING: Mitre Technique ID 'T1110.001' not found in database.
/var/ossec/logs/ossec.log:2024/07/01 10:40:36 wazuh-analysisd: WARNING: Mitre Technique ID 'T1021.004' not found in database.
/var/ossec/logs/ossec.log:2024/07/01 10:40:38 wazuh-analysisd: WARNING: Mitre Technique ID 'T1021.004' not found in database.
<…snipped…>
journalctl -xeu wazuh-dashboard --no-pager | grep -iE "error|warn" cat /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log | grep -i -E "error|warn"
/usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log:{"data":{"message":"validation_exception: [validation_exception] Reason: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;","stack":"ResponseError: validation_exception: [validation_exception] Reason: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;\n at onBody (/usr/share/wazuh-dashboard/node_modules/@opensearch-project/opensearch/lib/Transport.js:374:23)\n at IncomingMessage.onEnd (/usr/share/wazuh-dashboard/node_modules/@opensearch-project/opensearch/lib/Transport.js:293:11)\n at IncomingMessage.emit (node:events:525:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)"},"date":"2024-04-05T08:15:00.944Z","level":"info","location":"Cron-scheduler"}
/usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log:{"date":"2024-04-05T07:45:00.493Z","level":"error","location":"monitoring:createIndex","message":"Could not create wazuh-monitoring-2024.14w index on elasticsearch due to validation_exception: [validation_exception] Reason: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}
/usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log:{"date":"2024-04-05T07:45:00.494Z","level":"error","location":"monitoring:insertMonitoringDataElasticsearch","message":"index_not_found_exception: [index_not_found_exception] Reason: no such index [wazuh-monitoring-2024.14w]"}