ail-project / ail-framework

AIL framework - Analysis Information Leak framework
GNU Affero General Public License v3.0
561 stars 80 forks source link

Log view on dashboard completely empty #170

Open certrik opened 1 year ago

certrik commented 1 year ago

I don't know how to debug it or where I can have a look but it seems that the log view on the dashboard somehow is broken. It doesnt show anything but I already feeded one week of pastebin pastes into AIL 5.0. grafik

xme commented 1 year ago

Same here... I see that pasties are processed and stored in PASTIES/ but nothing else...

fukusuket commented 1 year ago

I am in the same situation, so I did some research :)

The log file that is the source of the Log view dashboard is as follows. (Currently, Logs/Script_warn- is hard-coded, so I think that only the warn level is displayed on the dashboard) https://github.com/ail-project/ail-framework/blob/a0686eefcf005a4db17b19f498d0cfa9bcdbc18d/var/www/modules/dashboard/Flask_dashboard.py#L105-L122

Also, in the above warn log, only the logs that do not return False with the following functions are displayed on the dashboard.(Only if the log message split by semicolon and the split length is 6) https://github.com/ail-project/ail-framework/blob/a0686eefcf005a4db17b19f498d0cfa9bcdbc18d/var/www/modules/dashboard/Flask_dashboard.py#L72-L84

I think that current behavior is the logs corresponding to the above are displayed on the dashboard.

fukusuket commented 1 year ago

If it matches the WARN log mentioned above, I can confirm that the log is displayed on the screen.(AIL v5.2)

スクリーンショット 2023-07-14 2 39 21
KhaledEid020 commented 10 months ago

If it matches the WARN log mentioned above, I can confirm that the log is displayed on the screen.(AIL v5.2) スクリーンショット 2023-07-14 2 39 21

Can u send the OVA file for this machine?