Skip to content

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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants