使用python进行日志文件分析

时间:2020-10-29 03:02:40

标签: python logging pseudocode cybersecurity

For every line•
    find the filename•
    check if it already exists in the filenames[] lists
        if it does, just increment the filename_count[] at that index by 1
        if it doesn’t, add that filename to filenames[] and set the filename_count[] at that index to be 1

//到目前为止,我已经在日志中找到所有“从文件读取”事件的位置 //现在我必须计算有多少次迭代,而我是python的新手

0 个答案:

没有答案