freedomofpress / ansible-role-elk

Installs a turnkey ELK stack for log aggregation and analysis, with optional Riemann support for alerting
18 stars 13 forks source link

ownCloud log parsing #23

Closed ageis closed 8 years ago

ageis commented 8 years ago

There are two types of messages in the ownCloud log, and this handles them both.

conorsch commented 8 years ago

The log format is JSON, which is already structured by field. Use the json filter to map the JSON to a logstash event. That way we'll have fewer patterns to maintain.

ageis commented 8 years ago

@conorsch Thanks for the tip.

ageis commented 8 years ago

@conorsch done

conorsch commented 8 years ago

Dang, I wish we had more logs in JSON!