Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add tokenizer interface for Drain Training #13069

Merged
merged 3 commits into from
May 29, 2024

Conversation

benclive
Copy link
Contributor

What this PR does / why we need it:

  • Added an interface for Tokenizing incoming log lines for Drain
  • This is useful because Tokenization is important to how well the algorithm runs, and we may want to test multiple tokenizers or swap tokenizers depending on the stream log formats.

Also took the opportunity to add a filter so Drain will not train on any loglines with less than 4 tokens.

@benclive benclive requested a review from a team as a code owner May 29, 2024 16:21
@benclive benclive changed the title Add tokenizer interface for drain feat: Add tokenizer interface for Drain Training May 29, 2024
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@cyriltovena cyriltovena merged commit 797bb64 into main May 29, 2024
44 of 60 checks passed
@cyriltovena cyriltovena deleted the add-tokenizer-interface-for-drain branch May 29, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants