Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Logstash Parser?

By
Ian Beardslee
on 8/20/14, 11:31 PM 1,300 views

Does anyone have a logstash parser they have been using to deal with OpenERP (or Odoo) log files?

We are wanting to be able to throw them into an app with our postgres and nginx logs to have a better idea of tracking where and when things go wrong.

1
hofrob
On 5/9/15, 6:06 AM

Little late, but I created a Odoo grok filter for logstash: https://gist.github.com/hofrob/6383dd464747d0cc6f90

Requests are captured in detail. All the other messages (after the module name) get put into the "misc" field since there doesn't seem to be any convention.

0
Viktor Nagy
On 1/22/15, 6:18 AM

I have a solution for sentry that should be easy to change for logstash. 

It uses your system's Syslog handler (it assumes you are using rsyslog), and forwards OpenERP v7 messages to a custom handler that finally does the sentry logging.

You can find it here https://gist.github.com/nagyv/398b0f9d0cb4061b6068

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/20/14, 11:31 PM
Seen: 1300 times
Last updated: 7/24/16, 9:25 AM