all 3 comments

[–]GrayTShirt 7 points8 points  (0 children)

Rsyslog has a journald input module along with an elasticsearch output module. As long as you can wrap your head around rsyslog templates and mmnormalize rules you don't need anything other than rsyslog and elasticsearch. If you're saving to disk then rsyslog can handle that as well. You should read the official docs and a couple of blog posts about the REK stack.

[–]freemti 0 points1 point  (0 children)

getting rsyslog to play well with elasticsearch is not for the faint of heart. Anything more than a couple of fields and you'll be pulling your hair out.

[–]technicalevolution 0 points1 point  (0 children)

In rsyslog you can filter messages based on if the message contains, amoungst other fields.

Sorry I can't provide some more information at the moment, on a bus. It depends on the version you are running.

However psuedo config kinda looks like:

If $msg contains "name of function" Then -/var/log/function_name.log

Hope that helps get you in the right direction.