├── .gitignore ├── README.md ├── config_ini ├── drain3.ini └── drain3_state.bin ├── data ├── chinese_english_logs.csv ├── chinese_english_logs_parse_by_drain3.csv ├── chinese_english_logs_parse_by_statistic.csv ├── english_logs.csv ├── english_logs_parse_by_drain3.csv ├── english_logs_parse_by_statistic.csv ├── 解析结果与金标准对比的结果_by_drain3.xlsx └── 解析结果与金标准对比的结果_by_statistic.xlsx ├── drain3 ├── __init__.py ├── drain.py ├── file_persistence.py ├── kafka_persistence.py ├── masking.py ├── memory_buffer_persistence.py ├── persistence_handler.py ├── redis_persistence.py ├── simple_profiler.py ├── template_miner.py └── template_miner_config.py ├── requirements.txt ├── src ├── common_config.py ├── drain3_examples │ ├── drain_bigfile_demo.py │ └── drain_stdin_demo.py ├── log_parser_by_drain3.py ├── log_parser_by_statistic.py └── tool │ ├── read_save_file.py │ ├── str_related.py │ ├── tokenizer.py │ └── tool.py ├── tests ├── drain3_test.ini ├── test_drain.py ├── test_masking.py └── test_template_miner.py └── 日志解析_项目介绍.docx /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/README.md -------------------------------------------------------------------------------- /config_ini/drain3.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/config_ini/drain3.ini -------------------------------------------------------------------------------- /config_ini/drain3_state.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/config_ini/drain3_state.bin -------------------------------------------------------------------------------- /data/chinese_english_logs.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/chinese_english_logs.csv -------------------------------------------------------------------------------- /data/chinese_english_logs_parse_by_drain3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/chinese_english_logs_parse_by_drain3.csv -------------------------------------------------------------------------------- /data/chinese_english_logs_parse_by_statistic.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/chinese_english_logs_parse_by_statistic.csv -------------------------------------------------------------------------------- /data/english_logs.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/english_logs.csv -------------------------------------------------------------------------------- /data/english_logs_parse_by_drain3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/english_logs_parse_by_drain3.csv -------------------------------------------------------------------------------- /data/english_logs_parse_by_statistic.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/english_logs_parse_by_statistic.csv -------------------------------------------------------------------------------- /data/解析结果与金标准对比的结果_by_drain3.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/解析结果与金标准对比的结果_by_drain3.xlsx -------------------------------------------------------------------------------- /data/解析结果与金标准对比的结果_by_statistic.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/data/解析结果与金标准对比的结果_by_statistic.xlsx -------------------------------------------------------------------------------- /drain3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/__init__.py -------------------------------------------------------------------------------- /drain3/drain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/drain.py -------------------------------------------------------------------------------- /drain3/file_persistence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/file_persistence.py -------------------------------------------------------------------------------- /drain3/kafka_persistence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/kafka_persistence.py -------------------------------------------------------------------------------- /drain3/masking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/masking.py -------------------------------------------------------------------------------- /drain3/memory_buffer_persistence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/memory_buffer_persistence.py -------------------------------------------------------------------------------- /drain3/persistence_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/persistence_handler.py -------------------------------------------------------------------------------- /drain3/redis_persistence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/redis_persistence.py -------------------------------------------------------------------------------- /drain3/simple_profiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/simple_profiler.py -------------------------------------------------------------------------------- /drain3/template_miner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/template_miner.py -------------------------------------------------------------------------------- /drain3/template_miner_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/drain3/template_miner_config.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/common_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/common_config.py -------------------------------------------------------------------------------- /src/drain3_examples/drain_bigfile_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/drain3_examples/drain_bigfile_demo.py -------------------------------------------------------------------------------- /src/drain3_examples/drain_stdin_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/drain3_examples/drain_stdin_demo.py -------------------------------------------------------------------------------- /src/log_parser_by_drain3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/log_parser_by_drain3.py -------------------------------------------------------------------------------- /src/log_parser_by_statistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/log_parser_by_statistic.py -------------------------------------------------------------------------------- /src/tool/read_save_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/tool/read_save_file.py -------------------------------------------------------------------------------- /src/tool/str_related.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/tool/str_related.py -------------------------------------------------------------------------------- /src/tool/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/tool/tokenizer.py -------------------------------------------------------------------------------- /src/tool/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/src/tool/tool.py -------------------------------------------------------------------------------- /tests/drain3_test.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/tests/drain3_test.ini -------------------------------------------------------------------------------- /tests/test_drain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/tests/test_drain.py -------------------------------------------------------------------------------- /tests/test_masking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/tests/test_masking.py -------------------------------------------------------------------------------- /tests/test_template_miner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/tests/test_template_miner.py -------------------------------------------------------------------------------- /日志解析_项目介绍.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongdong9/log_parser/HEAD/日志解析_项目介绍.docx --------------------------------------------------------------------------------