logpai / logparser

A machine learning toolkit for log parsing [ICSE'19, DSN'16]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to upload templates before going ahead of parsing in Drain?

ankit-nassa opened this issue · comments

Hi Team,

I have a use case where i need to upload/reload few templates before i proceed to parse the logs. These templates are generated by Drain on running against a particular set of events. And now i would like to reload those templates before going to parse another batch of events. Could you suggest some ways to do this?

@PinjiaHe @jimzhu Could you please throw some lights on this?

Also browsing the pull request, i saw someone is actually trying to achieve the same thing in the commit: https://github.com/logpai/logparser/pull/30/commits. Can you please confirm if my understanding is correct

A quick solution is to use your existing templates to filter the logs. After this, you can train new templates with the remaining log data.