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

Handle multi-lines log entry with common prefix #23

Open
swordsp opened this issue Jan 28, 2017 · 2 comments
Open

Handle multi-lines log entry with common prefix #23

swordsp opened this issue Jan 28, 2017 · 2 comments

Comments

@swordsp
Copy link

swordsp commented Jan 28, 2017

2017-01-28 17:59:50  Exception in thread "main" java.lang.NullPointerException
2017-01-28 17:59:50          at com.example.myproject.Book.getTitle(Book.java:16)
2017-01-28 17:59:50          at com.example.myproject.Author.getBookTitles(Author.java:25)
2017-01-28 17:59:50          at com.example.myproject.Bootstrap.main(Bootstrap.java:14)

For now sumoshell cannot recognize the above log lines as a same log entry.

@rcoh
Copy link
Contributor

rcoh commented Jan 28, 2017 via email

@swordsp
Copy link
Author

swordsp commented Jan 29, 2017

We have a agent process to collect logs from different applications on multiple servers, and the prefix is actually appended by that agent which contains fields like timestamp/hosts/container id/etc.

I'll take a look at the code and see if I could send out a patch.

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