콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7056 화면

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

아바타
취소
관련 게시물 답글 화면 활동
0
2월 18
3286
1
1월 25
54965
0
3월 15
4160
0
3월 15
3157
1
8월 22
3000