Morning,
First time i troubleshoot filebeat.
But I did search for pipeline and errors and I think message are important field. I got many lines with following:
awk '/pipeline/ && /error/ {print}' filebeat_output.txt | jq . | grep message
"message": "Non-zero metrics in the last 30s",
"message": "Non-zero metrics in the last 30s",
"message": "Failed to publish event: failed to compute fingerprint: failed to find field [device_timestamp] in event: key not found",
"message": "Non-zero metrics in the last 30s",
"message": "Non-zero metrics in the last 30s",
"message": "Non-zero metrics in the last 30s",
Here is a log event:
{
"_index": ".ds-carbon_black_observations-2025.02.08-2025.02.07-000001",
"_id": "c6eb5534b0dc39b25585d6604cfaacd9de47a1bbe6da21167fdb73cfb7dbe754",
"_version": 1,
"_score": 0,
"_source": {
"@timestamp": "2025-02-08T06:55:05.640Z",
"device_policy_id": 245339,
"host": {
"name": "x.arc.local"
},
"netconn_count": 0,
"observation_id": "AAF299E7-E5D6-11EF-84A5-30E1716D2521:aaf299e6-e5d6-11ef-84a5-30e1716d2521",
"attack_tactic": "TA0005",
"childproc_count": 0,
"ecs": {
"version": "8.0.0"
},
"agent": {
"name": "x.arc.local",
"type": "filebeat",
"version": "8.17.0",
"ephemeral_id": "28ff7bf3-90dd-4810-852d-caf781e42c38",
"id": "25dd37f4-faea-4548-b443-ac5c7af95308"
},
"log": {
"offset": 3277,
"file": {
"path": "/home/arc/cb.json"
}
},
"ingress_time": 1738996775391,
"enriched_event_type": [
"CREATE_PROCESS"
],
"regmod_count": 0,
"parent_guid": "xxxxx-01d0d9b6-000009e0-00000000-1db6837152fcbc5",
"rule_id": "2DEED2A4-0115-4AF7-B6E2-FDCD30F5F7E5",
"attack_technique": "T1027.010",
"device_id": 30464438,
"org_id": "xxxxx",
"parent_pid": 2528,
"event_id": "AAF299E7-E5D6-11EF-84A5-30E1716D2521",
"scriptload_count": 0,
"process_guid": "xxxxx-01d0d9b6-00003850-00000000-1db79f42aaf3f63",
"device_group_id": 0,
"modload_count": 0,
"process_name": "c:\\windows\\system32\\cmd.exe",
"input": {
"type": "log"
},
"crossproc_count": 0,
"process_hash": [
"f4f684066175b77e0c3a000549d2922c",
"935c1861df1f4018d698e8b65abfa02d7e9037d8f68ca3c2065b6ca165d44ad2"
],
"backend_timestamp": "2025-02-08T06:40:24.603Z",
"filemod_count": 0,
"event_description": "The application c:\\windows\\system32\\cmd.exe launched a process using character encoding command switches.",
"process_pid": [
14416
],
"event": {
"dataset": "carbon_black.observations"
},
"device_timestamp": "2025-02-08T06:39:13.297Z",
"event_type": "childproc",
"observation_description": "The application c:\\windows\\system32\\cmd.exe launched a process using character encoding command switches.",
"process_username": [
"NT AUTHORITY\\SYSTEM"
],
"device_name": "teknik\\veeam03",
"observation_type": "INDICATOR_OF_ATTACK"
},
"fields": {
"childproc_count": [
0
],
"parent_guid": [
"xxxxx-01d0d9b6-000009e0-00000000-1db6837152fcbc5"
],
"observation_description": [
"The application c:\\windows\\system32\\cmd.exe launched a process using character encoding command switches."
],
"event_description": [
"The application c:\\windows\\system32\\cmd.exe launched a process using character encoding command switches."
],
"ingress_time": [
1738996775391
],
"enriched_event_type": [
"CREATE_PROCESS"
],
"netconn_count": [
0
],
"agent.type": [
"filebeat"
],
"device_group_id": [
0
],
"device_name": [
"teknik\\veeam03"
],
"event_type": [
"childproc"
],
"process_guid": [
"xxxxx-01d0d9b6-00003850-00000000-1db79f42aaf3f63"
],
"process_hash": [
"f4f684066175b77e0c3a000549d2922c",
"935c1861df1f4018d698e8b65abfa02d7e9037d8f68ca3c2065b6ca165d44ad2"
],
"device_timestamp": [
"2025-02-08T06:39:13.297Z"
],
"process_name": [
"c:\\windows\\system32\\cmd.exe"
],
"parent_pid": [
2528
],
"agent.name": [
"x.arc.local"
],
"attack_tactic": [
"TA0005"
],
"host.name": [
"x.arc.local"
],
"process_username": [
"NT AUTHORITY\\SYSTEM"
],
"device_policy_id": [
245339
],
"attack_technique": [
"T1027.010"
],
"device_id": [
30464438
],
"regmod_count": [
0
],
"crossproc_count": [
0
],
"filemod_count": [
0
],
"scriptload_count": [
0
],
"input.type": [
"log"
],
"backend_timestamp": [
"2025-02-08T06:40:24.603Z"
],
"log.offset": [
3277
],
"modload_count": [
0
],
"agent.hostname": [
"x.arc.local"
],
"process_pid": [
14416
],
"observation_type": [
"INDICATOR_OF_ATTACK"
],
"rule_id": [
"2DEED2A4-0115-4AF7-B6E2-FDCD30F5F7E5"
],
"@timestamp": [
"2025-02-08T06:55:05.640Z"
],
"event_id": [
"AAF299E7-E5D6-11EF-84A5-30E1716D2521"
],
"agent.id": [
"25dd37f4-faea-4548-b443-ac5c7af95308"
],
"ecs.version": [
"8.0.0"
],
"observation_id": [
"AAF299E7-E5D6-11EF-84A5-30E1716D2521:aaf299e6-e5d6-11ef-84a5-30e1716d2521"
],
"org_id": [
"xxxxx"
],
"log.file.path": [
"/home/arc/cb.json"
],
"agent.ephemeral_id": [
"28ff7bf3-90dd-4810-852d-caf781e42c38"
],
"agent.version": [
"8.17.0"
],
"event.dataset": [
"carbon_black.observations"
]
}
}