paStash icon indicating copy to clipboard operation
paStash copied to clipboard

Journald Log support

Open xaled1 opened this issue 3 years ago • 4 comments

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.

xaled1 avatar Dec 14 '21 16:12 xaled1

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

github-actions[bot] avatar Dec 14 '21 16:12 github-actions[bot]

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

lmangani avatar Dec 14 '21 16:12 lmangani

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

xaled1 avatar Dec 14 '21 17:12 xaled1

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

lmangani avatar Dec 14 '21 17:12 lmangani