Machine learning algorithms applied on HTTP logs analysis to detect intrusions and suspicious activities.
$ python label-raw-data.py -l ./raw-http-logs-samples/access-2018-12-15.log -d ./labeled-data-samples/access-2018-12-15.csv
$ python logistic-regression-classifier.py -t ./labeled-data-samples/all -v ./labeled-data-samples/access-2018-12-15.csv
Details could be found here:
http://enigmater.blogspot.fr/2017/03/intrusion-detection-based-on-supervised.html