I'm leaning towards putting everything into one big Data Stream and then tweaking the rollover. Thoughts?
For the data structure, we do control the Logstash receiver, could I just enable ecs_compatability on the output plugin?
Everything is from k8s, and we're currently only mapping the metadata.
Here are some examples of the data.
Let me know if a different format/more logs would be helpful!
Examples
{
"@timestamp": ["2025-02-19T18:49:42.525Z"],
"@version": ["1"],
"cluster_name": ["apc05se1shcc"],
"container_name": ["depi"],
"event.original": [
"Connection didn't change since previous snapshot. CONTINUE..."
],
"File": ["src/cosdepid/CosDepiApplication.cpp"],
"Function": ["HeartbeatStandby"],
"Line": ["441"],
"message": ["Connection didn't change since previous snapshot. CONTINUE..."],
"node_name": ["98.120.32.42"],
"orchestrator.cluster.name": ["kubernetes"],
"orchestrator.cluster.url": ["https://98.120.32.42:443"],
"Package": ["cos-depi"],
"pod_name": ["vcmts-cd-18-2"],
"pod_namespace": ["default"],
"pod_uid": ["995d157d-8c22-4a0c-8162-208fc2fee8c1"],
"Severity": ["TRACE"],
"site_name": ["charter"],
"tags": ["beats_input_codec_plain_applied"],
"type": ["vcmts"],
"version": ["3.21.11.500-5"],
"Version": ["1.1-292.5"],
"_id": "b3CLH5UB8MS8B30fYMHx",
"_index": ".ds-vcmts1_depi-2025.02.13-000002",
"_score": null
}
{
"@timestamp": ["2025-02-19T18:49:42.525Z"],
"@version": ["1"],
"cluster_name": ["apc04se1shcc"],
"CmMacAddress": ["84:0b:7c:7c:88:64"],
"container_name": ["mulpi"],
"Event": ["CM_CTRL_OUDP_MODEM_NOT_FOUND"],
"event.original": ["Modem not online for mac-domain"],
"File": ["../../src/cm/CmController.cpp"],
"Function": ["FillCmsOudpDetailsPerMd"],
"InternalStatusCode": ["3"],
"Line": ["4773"],
"Logger": ["ulcmulpid.CmController.0x17001000"],
"MdId": ["0x17001000"],
"message": ["Modem not online for mac-domain"],
"node_name": ["24.28.220.76"],
"orchestrator.cluster.name": ["kubernetes"],
"orchestrator.cluster.url": ["https://24.28.220.76:443"],
"Package": ["ulc-mulpi"],
"pod_name": ["vcmts-cd-2-1"],
"pod_namespace": ["default"],
"pod_uid": ["47b00dce-2fe7-4a9a-9fa0-8f4dcd631df9"],
"Role": ["active"],
"Severity": ["ERROR"],
"site_name": ["charter"],
"tags": ["beats_input_codec_plain_applied"],
"type": ["vcmts"],
"UcId": ["0x2a"],
"version": ["3.21.11.500-5"],
"Version": ["1.48-569.43"],
"_id": "enGLH5UB8MS8B30fZQbl",
"_index": ".ds-vcmts1_mulpi-2025.02.19-000007",
"_score": null
}
{
"@timestamp": ["2025-02-19T18:49:42.524Z"],
"@version": ["1"],
"cluster_name": ["apc05se1shcc"],
"container_name": ["sched"],
"endMinislot": ["79"],
"event.original": ["BcmUpstreamMapOfdma::StartLeakageTestHs"],
"File": ["../../src/bcm/Scheduler/src/UpstreamMapOfdma.cpp"],
"fMslotsPerFrame": ["237"],
"fNumFramesInMap": ["0"],
"Function": ["StartLeakageTestHs"],
"grantsPerSid": ["8"],
"Line": ["1889"],
"message": ["BcmUpstreamMapOfdma::StartLeakageTestHs"],
"node_name": ["98.120.32.44"],
"orchestrator.cluster.name": ["kubernetes"],
"orchestrator.cluster.url": ["https://98.120.32.44:443"],
"Package": ["ulc-scheduler"],
"perSidDurationUsec": ["2880"],
"pod_name": ["vcmts-cd-4-0"],
"pod_namespace": ["default"],
"pod_uid": ["4c4e130a-e084-4f9a-97d9-db023d5b4ef0"],
"requestId": ["56847829"],
"Severity": ["DEBUG"],
"site_name": ["charter"],
"startMinislot": ["74"],
"tags": ["beats_input_codec_plain_applied"],
"testEndTgc": ["17817508040250828"],
"testStartTgc": ["17817508040132864"],
"type": ["vcmts"],
"version": ["3.21.11.500-5"],
"Version": ["1.53-80.6"],
"_id": "j3GLH5UB8MS8B30fa1U7",
"_index": ".ds-vcmts1_sched-2025.02.19-000040",
"_score": null
}
{
"@timestamp": ["2025-02-19T18:49:42.533Z"],
"@version": ["1"],
"cluster_name": ["APC06K1SACC"],
"CmMacAddress": ["3c:2d:9e:d6:c7:d4"],
"container_name": ["mulpi"],
"Event": ["CM_CTRL_OUDP_MODEM_NOT_FOUND"],
"event.original": ["Modem not found for mac domain"],
"File": ["../../src/cm/CmController.cpp"],
"Function": ["FillCmsOudpDetailsPerMd"],
"InternalStatusCode": ["2"],
"Line": ["4739"],
"Logger": ["ulcmulpid.CmController.0x1000000"],
"MdId": ["0x1000000"],
"message": ["Modem not found for mac domain"],
"node_name": ["71.85.84.186"],
"orchestrator.cluster.name": ["kubernetes"],
"orchestrator.cluster.url": ["https://71.85.84.186:443"],
"Package": ["ulc-mulpi"],
"pod_name": ["vcmts-cd-0-0"],
"pod_namespace": ["default"],
"pod_uid": ["ab179469-28aa-4bd2-b0cc-b17f3e527d5e"],
"Role": ["active"],
"Severity": ["ERROR"],
"site_name": ["charter"],
"tags": ["beats_input_codec_plain_applied"],
"type": ["vcmts"],
"UcId": ["0x2a"],
"version": ["3.21.7.0-1-auto32"],
"Version": ["1.48-569.35"],
"_id": "anGLH5UB8MS8B30fZgys",
"_index": ".ds-vcmts1_mulpi-2025.02.19-000007",
"_score": null
}