Closed Gharibim closed 3 years ago
@Gharibim Have you any new progress? I have the same problem.
You can use Drain which is proposed in this paper to extract log template and convert these templates to ID.
@wuyifan18 Can you tell me how to convert log templates to training data? Thank you very much!
@haosanzi I just convert training data to numbers using templates ID from 0 to length of templates.
@Gharibim Could you tell me where did you find the first SPELL? The link is not available now. Or could you tell me how you fixed the output of the second SPELL? My results looked the same as the second. I hope to get the result as your first one and do the next step. Thank you!
@ying1016 you can get the result (0, '{"lineids": [1, 2, 3], "postion": [2], "lcsseq": "this is pen "}') (1, '{"lineids": [4, 5, 6, 7], "postion": [2], "lcsseq": "i am "}') via second spell which is suggested by @Gharibim via executing command cat train.log | python slm_create.py
Thank you so much for your efforts! Would you please help with this issue, I think it is somehow repeated but I wanted to clear the confusion. After we get the logs, I used SPELL parser and I end up with dictionary looks like this:
I used another SPELL parser and got this result:
What is the next step ? I mean how to come up with the training data now? test_normal and test_abnormal?