mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: Drop unnecessary docker logs from filebeat
parent
3c209188ad
commit
05f9e63076
|
@ -85,7 +85,7 @@ services:
|
||||||
- DB_PASSWORD=${OPENVIDU_SECRET}
|
- DB_PASSWORD=${OPENVIDU_SECRET}
|
||||||
- MIN_PORT=57001
|
- MIN_PORT=57001
|
||||||
- MAX_PORT=65535
|
- MAX_PORT=65535
|
||||||
- ENABLE_COTURN_LOGS=false
|
- ENABLE_COTURN_LOGS=true
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
||||||
|
|
|
@ -13,6 +13,18 @@ processors:
|
||||||
fields: ["message"]
|
fields: ["message"]
|
||||||
target: "json"
|
target: "json"
|
||||||
overwrite_keys: true
|
overwrite_keys: true
|
||||||
|
- drop_event:
|
||||||
|
when.or:
|
||||||
|
- contains:
|
||||||
|
container.image.name: openvidu/openvidu-coturn
|
||||||
|
- contains:
|
||||||
|
container.image.name: docker.elastic.co/elasticsearch/elasticsearch
|
||||||
|
- contains:
|
||||||
|
container.image.name: docker.elastic.co/kibana/kibana
|
||||||
|
- contains:
|
||||||
|
container.image.name: docker.elastic.co/beats/filebeat-oss
|
||||||
|
- contains:
|
||||||
|
container.image.name: docker.elastic.co/beats/metricbeat-oss
|
||||||
- add_fields:
|
- add_fields:
|
||||||
fields:
|
fields:
|
||||||
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
||||||
|
@ -25,10 +37,10 @@ output:
|
||||||
when.or:
|
when.or:
|
||||||
- contains:
|
- contains:
|
||||||
container.image.name: openvidu/openvidu-redis
|
container.image.name: openvidu/openvidu-redis
|
||||||
- index: "filebeat-coturn-%{+yyyy.MM.dd}"
|
- index: "filebeat-nginx-%{+yyyy.MM.dd}"
|
||||||
when.or:
|
when.or:
|
||||||
- contains:
|
- contains:
|
||||||
container.image.name: openvidu/openvidu-coturn
|
container.image.name: openvidu/openvidu-proxy
|
||||||
|
|
||||||
|
|
||||||
logging.json: true
|
logging.json: true
|
||||||
|
|
|
@ -73,7 +73,7 @@ services:
|
||||||
- MIN_PORT=40000
|
- MIN_PORT=40000
|
||||||
- MAX_PORT=65535
|
- MAX_PORT=65535
|
||||||
- TURN_PUBLIC_IP=${TURN_PUBLIC_IP:-auto-ipv4}
|
- TURN_PUBLIC_IP=${TURN_PUBLIC_IP:-auto-ipv4}
|
||||||
- ENABLE_COTURN_LOGS=false
|
- ENABLE_COTURN_LOGS=true
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
||||||
|
|
Loading…
Reference in New Issue