mirror of https://github.com/OpenVidu/openvidu.git
deployment: Metricbeat Use node_role instead of cluster_role
parent
2ab6eb7d9b
commit
cb97b02c2e
|
@ -28,7 +28,7 @@ processors:
|
||||||
- add_fields:
|
- add_fields:
|
||||||
fields:
|
fields:
|
||||||
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
||||||
cluster_role: masternode
|
node_role: masternode
|
||||||
|
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|
|
@ -32,7 +32,7 @@ metricbeat.modules:
|
||||||
cpu.metrics: [normalized_percentages]
|
cpu.metrics: [normalized_percentages]
|
||||||
fields:
|
fields:
|
||||||
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP}}
|
||||||
cluster_role: masternode
|
node_role: masternode
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||||
|
|
|
@ -12,7 +12,7 @@ filebeat.inputs:
|
||||||
kurento-media-server: true
|
kurento-media-server: true
|
||||||
ip: ${MEDIA_NODE_IP}
|
ip: ${MEDIA_NODE_IP}
|
||||||
cluster_id: ${CLUSTER_ID}
|
cluster_id: ${CLUSTER_ID}
|
||||||
cluster_role: medianode
|
node_role: medianode
|
||||||
fields_under_root: true
|
fields_under_root: true
|
||||||
|
|
||||||
processors:
|
processors:
|
||||||
|
|
|
@ -28,7 +28,7 @@ metricbeat.modules:
|
||||||
enabled: true
|
enabled: true
|
||||||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
|
||||||
cpu.metrics: [normalized_percentages]
|
cpu.metrics: [normalized_percentages]
|
||||||
fields: {ip: "${MEDIA_NODE_IP}", cluster_id: "${CLUSTER_ID}", cluster_role: medianode}
|
fields: {ip: "${MEDIA_NODE_IP}", cluster_id: "${CLUSTER_ID}", node_role: medianode}
|
||||||
pipeline:
|
pipeline:
|
||||||
queue.mem.events: 0
|
queue.mem.events: 0
|
||||||
setup.ilm.enabled: false
|
setup.ilm.enabled: false
|
||||||
|
|
|
@ -28,7 +28,7 @@ processors:
|
||||||
- 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}}
|
||||||
cluster_role: masternode
|
node_role: masternode
|
||||||
|
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|
|
@ -32,7 +32,7 @@ metricbeat.modules:
|
||||||
cpu.metrics: [normalized_percentages]
|
cpu.metrics: [normalized_percentages]
|
||||||
fields:
|
fields:
|
||||||
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP:undefined}}
|
cluster_id: ${OPENVIDU_PRO_CLUSTER_ID:${DOMAIN_OR_PUBLIC_IP:undefined}}
|
||||||
cluster_role: masternode
|
node_role: masternode
|
||||||
output:
|
output:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
hosts: ["${OPENVIDU_PRO_ELASTICSEARCH_HOST}"]
|
||||||
|
|
Loading…
Reference in New Issue