Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

jobteaser/filebeat-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileBeat Helper

This library is a small utility to help you create pattern to handle multiline.

INFO: documentation https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html

Build

# For Linux
make build.linux

# For MacOS
make build.darwin

Run the example

examples/elastic-1.log provides some stack trace to validate against your pattern

dist/filebeat-helper-linux -logfile examples/elastic-1.log -pattern '^\[\d{4}-\d{2}-\d{2}[^]]*\]' -negate

Releases

No releases published

Packages

No packages published