diff --git a/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js index a1c0ca2f0b3a1..a9c4125b55a79 100644 --- a/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js +++ b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js @@ -21,6 +21,8 @@ export function formatForNormalBulkEndpoint(payload, productionClusterUuid) { return accum; } + const { timestamp } = chunk[1]; + accum.push({ index: { _index: `.monitoring-kibana-${MONITORING_SYSTEM_API_VERSION}-${dateSuffix}`, @@ -29,6 +31,7 @@ export function formatForNormalBulkEndpoint(payload, productionClusterUuid) { accum.push({ [type]: chunk[1], type, + timestamp, cluster_uuid: productionClusterUuid, }); return accum;