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

Latest commit

 

History

History
23 lines (15 loc) · 504 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 504 Bytes

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