Official Implementation of "FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discrimination" read here
pip install -r requirements.txt
- Download and extract HDFS dataset from here
- Before processing data, set the following directories for each corresponding dataset.py under dataprocess directory:
input_dir = # i.e. .../BGL/ output_dir = # i.e. .../BGL/output/
- Run parsing and processing(into sequences):
[dataset name]: hdfs, bgl, thunderbird
python -m dataprocess.[dataset name]
-
Set the proper directories and hyperparameters in each .yaml file under configs
-
Run the main module with your choice of the generator variant(MLM, Random)
i.e. MLM generator variant on HDFS:
python -m main --config hdfs.yaml
Random generator variant on Thunderbird:
python -m main --config thunderbird.yaml