HelenGuohx / logbert

log anomaly detection via BERT
MIT License
240 stars 102 forks source link

cannot find hdfs_sequence.csv #16

Closed zora-triumph closed 2 years ago

zora-triumph commented 2 years ago

when I excuse data_process.py, I got error. FileNotFoundError: [Errno 2] No such file or directory: '../output/hdfs/hdfs_sequence.csv'.

looking forward to your reply!

girishl commented 2 years ago

even we are trying to execute data_process.py and getting the same error. File not found.

Kindly share hdfs_sequence.csv file

RohitRathore1 commented 2 years ago

@HelenGuohx Please can you provide hdfs_sequence.csv file? We are waiting for your response. Thanks!

HelenGuohx commented 2 years ago

Uncomment the code below in logbert/HDFS/data_process.py / to generate hdfs_sequence.csv

    #parser(input_dir, output_dir, log_file, log_format, 'drain')
    #mapping()
    #hdfs_sampling(log_structured_file)
    generate_train_test(log_sequence_file, n=4855)

to be

    parser(input_dir, output_dir, log_file, log_format, 'drain')
    mapping()
    hdfs_sampling(log_structured_file)
    generate_train_test(log_sequence_file, n=4855)
RohitRathore1 commented 2 years ago

Thanks @HelenGuohx . That was our fault, commented code was already there. We did not read code properly.