Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Multiline log message support via REGEX pattern #21

Closed
drewmmiranda opened this issue Jun 4, 2015 · 2 comments
Closed

Multiline log message support via REGEX pattern #21

drewmmiranda opened this issue Jun 4, 2015 · 2 comments

Comments

@drewmmiranda
Copy link

Some application logs have a single log entry on multiple lines. It won't be helpful to have the log lines shipped as separate messages and should be treated as a single message.

@trobers
Copy link

trobers commented Jun 5, 2015

It is possible. Show this example:

file-xyz {
type = "file"
path = "/opt/dir/nextdir/agent.log"
content-splitter = "PATTERN"
content-splitter-pattern = "^\d{4}-\d{2}-\d{2}"
}

@drewmmiranda
Copy link
Author

Will test this out, thanks!

@bernd bernd mentioned this issue Jun 6, 2015
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants