Tmds.Systemd icon indicating copy to clipboard operation
Tmds.Systemd copied to clipboard

Proposal: read from journal

Open stefano-v opened this issue 5 years ago • 2 comments

Hi, thanks for the great job. I was hoping to use this library to also read from journal. Is it possible? I would like to monitor journal logs to trigger further events.

stefano-v avatar Aug 07 '20 07:08 stefano-v

That would be cool! For now, I call the journalctl --output json command. But I'm not sure whether that's a good approach for monitoring.

ygoe avatar Aug 20 '20 16:08 ygoe

That's because I have an elasticsearch+kibana system that pushes alerts in the kibana journal log. I want to capture that alerts from the kibana log and send warning emails. The elasticsearch+kibana email alert plugin is only for premium accounts 💲. I can't purchase it because it's available only for system with 3 or more server (I have one). That't why I'm looking for this 'ugly' alternative.

stefano-v avatar Aug 25 '20 15:08 stefano-v