sawmill

command module
v0.0.0-...-737738f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

README

sawmill

Module reads log files, tries to parse it with specified JavaScript custom parser and sends it to warehouse (InfluxDB/ElasticSearch).

Key advantage is to use JavaScript language for parsing.

Parsing function obtain line by line, combines them together with required logic and outputs complete objects to warehouse. User is not limited with Grok or RegExps notations. Instead, he uses full JavaScript language power.

how to use
.\sawmill -config parser.js

in parser.js you have to define all parsing logic and outputs.

creating your own parser

see examples in /parsers folder ...

build
docker login
docker build -t mcfly722/sawmill .
docker push mcfly722/sawmill

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL