Skip to content
D

Drain3

A robust streaming log template miner based on the Drain algorithm

by logpaiFree

#569in Entertainment
0In stores

Description

Drain3 is an online log template miner for Python. It extracts templates, or clusters, from a stream of log messages as they arrive, and it…

Highlights

  • Online log template mining from streams
  • Fixed-depth parse tree
  • Persistence to Kafka, Redis or a file
  • Masking of numbers, IPs and emails
  • Packaged for pip

Ratings & Reviews

No ratings yet

Be the first to rate Drain3.

People also visit

C

Ctrlb Decompose

LLM-ready reasoning surface over logs

AI
Launch
L

Logier

Logier automatically parses any log format, clusters duplicate errors

Developer Tools
Launch
R

Rootprint

Open-source, self-hosted logs and traces

Developer Tools
Launch
D

dt-obs-logs

Log querying, filtering, pattern analysis, and error rate calculation

AI Skills
Get
L

LogClaw

AI SRE That Deploys in Your VPC

Developer Tools
Launch
L

Logz.io

Monitor, investigate, and gain valuable insights into log data

Utilities
Launch

Drain3 FAQ

What is Drain3?

An online log template miner for Python that extracts templates from a stream of log messages.

How is it different from the original Drain?

The README says Drain3 upgrades the original Drain project from Python 2.7 to Python 3.6 or later, with extra features and bug fixes.

Where can it store its state?

In an Apache Kafka topic, in Redis, or in a file.

What is masking?

It replaces parts of messages, such as numbers, IP addresses and emails, with wildcards, which improves template accuracy.

How do I install it?

It is packaged as a pip package, and the README includes configuration options.

What are the best Drain3 alternatives?

Popular alternatives to Drain3 include Random Cut Forest By Aws. See all Drain3 alternatives

Developer Stuff

Badges