deployment: Drop openvidu logs from filebeat (sent via logback by openvidu) and change OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL by OPENVIDU_PRO_STATS_MONITORING_INTERVAL in media nodes metricbeat

pull/609/head
cruizba 2021-02-10 14:09:59 +01:00
parent de8c9b7625
commit 23e83aaa80
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ metricbeat.modules:
- regexp: - regexp:
system.filesystem.mount_point: '^/hostfs/(sys|cgroup|proc|dev|etc|host)($|/)' system.filesystem.mount_point: '^/hostfs/(sys|cgroup|proc|dev|etc|host)($|/)'
enabled: true enabled: true
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s period: ${OPENVIDU_PRO_STATS_MONITORING_INTERVAL}0s
cpu.metrics: [normalized_percentages] cpu.metrics: [normalized_percentages]
fields: fields:
ip: "${MEDIA_NODE_IP}" ip: "${MEDIA_NODE_IP}"

View File

@ -25,6 +25,8 @@ processors:
container.image.name: docker.elastic.co/beats/filebeat-oss container.image.name: docker.elastic.co/beats/filebeat-oss
- contains: - contains:
container.image.name: docker.elastic.co/beats/metricbeat-oss container.image.name: docker.elastic.co/beats/metricbeat-oss
- contains:
container.image.name: openvidu/openvidu-server-pro
- add_fields: - add_fields:
fields: fields:
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP:undefined}} cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP:undefined}}