PalanQu / LoggingDrain

A powerful streaming log template miner based on the Drain algorithm in golang

Home Page:https://github.com/PalanQu/LoggingDrain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoggingDrain

Introduce

LoggingDrain is go implemented for drain3

Example

go run examples/stdin.go

Test

run unittest

go test .

run benchmark

go test -bench=.
goos: darwin
goarch: arm64
pkg: github.com/palanqu/loggingdrain
BenchmarkBuildTree-8       	 1632832	       699.0 ns/op
BenchmarkMatchTree-8       	 3431210	       349.4 ns/op
BenchmarkUnmarshalJson-8   	  378432	      3172 ns/op
PASS
ok  	github.com/palanqu/loggingdrain	4.840s

About

A powerful streaming log template miner based on the Drain algorithm in golang

https://github.com/PalanQu/LoggingDrain


Languages

Language:Go 100.0%