Skip to content

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

License

Notifications You must be signed in to change notification settings

PalanQu/LoggingDrain

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages