LogREAD: Log-based Real-time Anomaly Detection Through Online Continual Learning
pip install -r requirements.txt
- set the directory at ./process/[dataset_name].py
indir = '' # where the log files are stored
outdir = '' # where the output .csv file will be stored
- For custom log data, add code for extracting the log labels
# Add code for extracting the log labels
labels = ...
- run the processing
python -m process.[dataset_name]
(Side note: The log parsing called in data/processor is only for extracting the labels)
- set the directory where the processed_log.csv is stored at main.py
dir_map = {'bgl': '/home/datasets/log_data/BGL/output', 'thunderbird': '/home/datasets/log_data/Thunderbird/output', 'spirit': '/home/datasets/log_data/Spirit/'}
# add custom dataset directory here
# e.g. dir_map['custom'] = 'path/to/custom/dataset'
python -m main
