Hi Stephen,

journal2gelf seems to be a bit out of date (last commit in 2013) but 
journal-gateway-gelf (https://github.com/travelping/journal-gateway-gelf) 
seems to be well maintained. Maybe give that project a try.


Cheers,
Jochen

On Monday, 26 October 2015 19:50:10 UTC+1, Stephen Fox wrote:
>
> How do you suggest I could send messages from a server using journald to 
> my graylog server? I've googled it a good bit but don't see a clear 
> solution. Maybe install syslog on the server then have journald forward the 
> messages to syslog out to graylog? I messed with journal2gelf but haven't 
> gotten it working yet.
>
>   File "/usr/bin/journal2gelf", line 116
>     print "Warning: invalid JSON. Skipping this record."
>                                                        ^
> SyntaxError: invalid syntax
>
> I'm sure that error is related to something I'm overlooking.
>
> Anyway, anyone have some tips on getting logs to graylog? I'd think the 
> graylog docs should be updated to include instructions for journald since 
> many distros are going that way. The docs mention syslog and syslog-ng but 
> haven't seen journald. 
>
> http://docs.graylog.org/en/1.2/pages/sending_data.html
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/147c96f6-4b46-40e5-84f9-3a1b223d58cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to