sipcapture / paStash

pastaʃ'ʃ = Spaghetti I/O Event Data Processing, Interpolation, Correlation and beyond :spaghetti:
http://sipcapture.io
Apache License 2.0
102 stars 27 forks source link

Journald Log support #102

Open xaled1 opened 2 years ago

xaled1 commented 2 years ago

Hi,

is the a way to get the journald logs using paStash? I have not found any input plugin for it and search on Journal(d) did not provide any results either.

github-actions[bot] commented 2 years ago

Your report is appreciated. Please star this repository to motivate its developers! :star:

lmangani commented 2 years ago

Nothing native is available. Adding a module is possible if there's interest or you could do as follows with a named pipe:

You can tell journal to send messages to rsyslog by adding ForwardToSyslog=yes into /etc/systemd/journald.conf

xaled1 commented 2 years ago

Ok thanks! We are interested in native support as otherwise we will just stick to rsyslog as we already do.

lmangani commented 2 years ago

My best guess is a plugin would be very easy to write using npm modules and any of our input plugins as example