deployment: Add node_id in metricbeat to identify cluster nodes

pull/609/head
cruizba 2021-02-09 21:10:13 +01:00
parent 3b3b2c3d5f
commit 33edab15f7
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,7 @@ filebeat.inputs:
kurento-media-server: true
ip: ${MEDIA_NODE_IP}
cluster_id: ${CLUSTER_ID}
node_id: ${NODE_ID}
node_role: medianode
fields_under_root: true

View File

@ -28,7 +28,11 @@ metricbeat.modules:
enabled: true
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}0s
cpu.metrics: [normalized_percentages]
fields: {ip: "${MEDIA_NODE_IP}", cluster_id: "${CLUSTER_ID}", node_role: medianode}
fields:
ip: "${MEDIA_NODE_IP}"
cluster_id: "${CLUSTER_ID}"
node_id: ${NODE_ID}
node_role: medianode
pipeline:
queue.mem.events: 0
setup.ilm.enabled: false