You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
docker-jitsi-meet/log-analyser/otel-collector-config.yaml

62 lines
1.9 KiB

receivers:
otlp:
protocols:
http:
grpc:
endpoint: 0.0.0.0:4317
filelog/jicofo:
include: ['/tmp/jitsi-logs/jicofo.log']
operators:
- type: regex_parser
regex: "^(?P<app>Jicofo) (?P<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{3}) (?P<level>\\w+): \\[(?P<pid>\\d+)\\] (?P<codefile>[\\w\\.]+)#(?P<codeline>\\d+): (?P<message>[\\S\\s]*)$"
filelog/jvb:
include: ['/tmp/jitsi-logs/jvb.log']
operators:
- type: regex_parser
regex: "^(?P<app>JVB) (?P<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{3}) (?P<level>\\w+): \\[(?P<pid>\\d+)\\] (?P<codefile>[\\w\\.]+)#(?P<codeline>\\d+): (?P<message>[\\S\\s]*)$"
filelog/prosody:
include: ['/tmp/jitsi-logs/prosody.log']
operators:
- type: regex_parser
regex: "^(?P<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})\\s+(?P<service>\\S+)\\s+(?P<level>\\w+)\\s+(?P<message>.+)$"
filelog/jitsi-web:
include: ['/tmp/jitsi-logs/jitsi-web.log']
operators:
- type: regex_parser
regex: "^(?P<message>\\[\\w+-\\w+\\.\\w+\\]\\s+(\\w+\\s+)*\\w+:?\\s*.*$)"
docker_stats:
endpoint: "unix:///var/run/docker.sock"
processors:
batch:
exporters:
logging:
loglevel: debug
loki:
endpoint: "http://loki:3100/loki/api/v1/push"
prometheus:
endpoint: "0.0.0.0:9464"
service:
pipelines:
logs/jicofo:
receivers: [otlp, filelog/jicofo]
processors: [batch]
exporters: [loki]
logs/jvb:
receivers: [otlp, filelog/jvb]
processors: [batch]
exporters: [loki]
logs/prosody:
receivers: [otlp, filelog/prosody]
processors: [batch]
exporters: [loki]
logs/jitsi-web:
receivers: [otlp, filelog/jitsi-web]
processors: [batch]
exporters: [loki]
metrics:
receivers: [docker_stats]
processors: [batch]
exporters: [prometheus]