HelenGuohx / logbert

log anomaly detection via BERT
MIT License
240 stars 102 forks source link

Question about logbert in logs Apache? #22

Closed Levi-zz closed 2 years ago

Levi-zz commented 2 years ago

How would I go about using logbert for Apache logs? 192.168.0.14 - - [15/Sep/2021:07:28:39 -0400] "GET /media/plg_system_popup/js/jquery.js HTTP/1.1" 200 293755 "https://192.168.0.52/" "Mozilla /5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"

HelenGuohx commented 2 years ago

Hi,

I would suggest you convert the logs into vectors first. The common one is to use log parsers which are adopted in my paper(refer to https://github.com/logpai/logparser)