Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
7662 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лют. 18
4020
1
січ. 25
57182
0
бер. 15
4885
0
бер. 15
3749
1
серп. 22
3631