Hi Stefan,

in general, you could send those logs to Graylog using a Raw/Plaintext 
input and use a JSON extractor on the JSON payload.

You could also use a log shipper like nxlog or filebeat (managed by 
Graylog) to read the logfile(s) of {Own,Next}Cloud and send them to 
Graylog: 
http://docs.graylog.org/en/2.1/pages/collector_sidecar.html#configuration

Cheers,
Jochen

On Friday, 16 September 2016 10:59:10 UTC+2, Stefan Krüger wrote:
>
> Hello,
>
> can somebody tell me the best/easiest way to send owncloud/nextcloud 
> messages to graylog?
> the log format looks like json:
> {"reqId":"lE\/KCGZL5cVe95WIDbxx","remoteAddr":"172.16.999.999","app":
> "user_ldap","message":"Ready for a paged search","level":0,"time":
> "2016-09-16T04:42:25+00:00","method":"PROPFIND","url":
> "\/remote.php\/webdav\/temp"}
>
> thanks in advance!
> best regards
>

-- 
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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/e26691d1-20dd-48a1-9ed5-61a835f94883%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to