Alerts are not showing in dashboard

1,287 views
Skip to first unread message

360 ALLROUND

unread,
Jan 17, 2023, 7:37:00 AM1/17/23
to Wazuh mailing list
Hi Team, 

Hope you are doing good. 

Since yesterday the alerts are not showing up on my wazuh dashboard. I deleted few of the wazuh indices and currently have only 3 months worth indices. My wazuh has been installed with single Node with the latest version, I 've also restarted everything please tell me how to resolve this. 

I have attached the indexer log and filebeat.yml file below

-Regards 
 Ruben 
IMG-20230117-WA0000.jpg
IMG-20230117-WA0001.jpg

Chantal Belen Kelm

unread,
Jan 17, 2023, 1:33:39 PM1/17/23
to Wazuh mailing list
Good afternoon, how are you? Are you using a Wazuh Dashboards or Elasticsearch / Kibana app installation and which is the Wazuh version?

I look forward to your response!

Regards!!!

360 ALLROUND

unread,
Jan 17, 2023, 11:08:06 PM1/17/23
to Wazuh mailing list
I am good thanks Mr. Chanta, 
I am using wazuh-dashboard and the version is 4.3.10

-thanks 
 Ruben

Chantal Belen Kelm

unread,
Jan 18, 2023, 10:43:53 AM1/18/23
to Wazuh mailing list
Could you send me the result of this command? filebeat test output

360 ALLROUND

unread,
Jan 19, 2023, 1:50:39 AM1/19/23
to Wazuh mailing list
I checked already it looks fine. 
I've attached the log below 

-regards
 Ruben

IMG-20230119-WA0000.jpg
Message has been deleted
Message has been deleted

Chantal Belen Kelm

unread,
Jan 19, 2023, 9:11:40 AM1/19/23
to Wazuh mailing list
Could you share with me the indexer logs?

Do the following command: journalctl -u open --no-pager | grep -E 'ERROR|WARN'.

360 ALLROUND

unread,
Jan 19, 2023, 11:29:42 PM1/19/23
to Wazuh mailing list
Hi chanta, 

As there are no errors the command doesn't show me any output.

Yesterday afternoon I restarted everything like indexer, dashboard, filebeat, manager, somehow it worked and showed the alerts. 
But again it's not showing the alerts. 

I 've also attached the screen shot below

Regards 
Ruben 

IMG-20230120-WA0000.jpg

Chantal Belen Kelm

unread,
Jan 20, 2023, 9:36:46 AM1/20/23
to Wazuh mailing list
Try this command: journalctl -u opensearch --no-pager | grep -E 'ERROR|WARN'

360 ALLROUND

unread,
Jan 22, 2023, 10:10:19 PM1/22/23
to Wazuh mailing list
Hi chanta, 

I tried this too same results and nothings different. 
 
I have attached the logs for your reference. 

-Regards 
  Ruben 
IMG-20230123-WA0001.jpg

360 ALLROUND

unread,
Jan 22, 2023, 10:36:54 PM1/22/23
to Wazuh mailing list
Hi, 

I cannot restart my manager and indexer now. The error shows no space left on device and I beleive that's what causing the issue. 

Please correct me if I am wrong. Also I 've attached the storage logs please tell me how I can free up some stuff. 

-Regards 
 Ruben

IMG-20230123-WA0004.jpg
IMG-20230123-WA0003.jpg
IMG-20230123-WA0002.jpg

Chantal Belen Kelm

unread,
Jan 23, 2023, 12:23:17 PM1/23/23
to Wazuh mailing list

Hello, how are you?

I recommend doing a few checks to find out what is taking up so much disk space.

First of all, please run du -sh /var/ossec to see how much disk space Wazuh is taking up.

Then, if the problem of disk space is caused by Wazuh, you should check which file is taking up disk space. Usually, those files are logs files, which are located at /var/ossec/logs. You can run the same command as before, but with the specified directory you want to check, for example, du -sh /var/ossec/logs. Old files are rotated into folders sorted by date:

/var/ossec/logs/alerts/year/month/day /var/ossec/logs/archives/year/month/day

You can delete or move files that no longer interest you. Furthermore, when your alerts are sent to Elastic, it is not necessary to keep your logs in your manager. You can also, apply a data retention policy to remove old logs and use Opendistro IML for the elasticsearch indices, it is up to you. Here you can learn more about it: https://wazuh.com/blog/wazuh-index-management/


If the alerts file is taking up much disk space, you could run cat /var/ossec/logs/alerts/alerts.log | grep Alert | sort | cut -d '.' -f 1 | uniq -c , so you can check which alerts are repeated.


Finally, I would recommend you check Wazuh configuration in /var/ossec/etc/ossec.conf and disable options like logall and logall_json because, by default, alerts will be generated on important events or of security relevance, so with logall option enabled, you are storing all events even if they do not match a rule.

<logall>no</logall> <logall_json>no</logall_json>

Best regards.

360 ALLROUND

unread,
Jan 28, 2023, 7:52:49 AM1/28/23
to Wazuh mailing list
Hi, 

I checked the disk space on /var/ossec the space consumed is 149gb, however I deleted logs on July month, which is of 15gb.

But still the alerts aren't showing and manager & other services doesn't produce anymore errors. 
My overall size of the disk is 400gb and added another 100gb which had to be moved to the partition. 

Please check the images attached and suggest a solution. 


Thanks
 Ruben 
IMG-20230127-WA0000.jpg
IMG-20230127-WA0001.jpg
Reply all
Reply to author
Forward
0 new messages