From a2bd09a9dfb36219bd8c50ef004fb1313d3ebb5f Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Wed, 12 Jan 2022 11:29:21 +0100 Subject: [PATCH 01/13] refactor dataset config --- benchmark/AEL_benchmark.py | 135 +---------- benchmark/Drain_benchmark.py | 132 +---------- benchmark/IPLoM_benchmark.py | 133 +---------- benchmark/LFA_benchmark.py | 101 +------- benchmark/LKE_benchmark.py | 118 +--------- benchmark/Lenma_benchmark.py | 121 +--------- benchmark/LogCluster_benchmark.py | 117 +--------- benchmark/LogMine_benchmark.py | 148 +----------- benchmark/LogSettings.py | 369 ++++++++++++++++++++++++++++++ benchmark/LogSig_benchmark.py | 116 +--------- benchmark/MoLFI_benchmark.py | 101 +------- benchmark/SHISO_benchmark.py | 165 +------------ benchmark/SLCT_benchmark.py | 118 +--------- benchmark/Spell_benchmark.py | 117 +--------- 14 files changed, 384 insertions(+), 1607 deletions(-) create mode 100644 benchmark/LogSettings.py diff --git a/benchmark/AEL_benchmark.py b/benchmark/AEL_benchmark.py index 6064f262..4ca2b7b9 100644 --- a/benchmark/AEL_benchmark.py +++ b/benchmark/AEL_benchmark.py @@ -5,143 +5,12 @@ from logparser import AEL, evaluator import os import pandas as pd +from LogSettings import benchmark_settings, input_dir - -input_dir = '../logs/' # The input directory of log file output_dir = 'AEL_result/' # The output directory of parsing results -benchmark_settings = { - 'HDFS': { - 'log_file': 'HDFS/HDFS_2k.log', - 'log_format': '