forked from elastic/integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
journald - Add 8.x support (elastic#4037)
Update kibana.constraint to allow 8.1.0+. 8.1.0 is required because elastic/beats#30032 is needed due to a breaking change that was introduced in 8.0.0. Rename message_id to ECS event.code. This field was added in 8.0. From man systemd.journal-fields MESSAGE_ID= A 128-bit message identifier ID for recognizing certain message types, if this is desirable. ...
- Loading branch information
1 parent
01bc513
commit 4966fd3
Showing
8 changed files
with
234 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dependencies: | ||
ecs: | ||
reference: git@1.11 | ||
reference: git@v8.4.0-rc1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"@timestamp": "2020-07-22T13:17:10.012Z", | ||
"agent": { | ||
"ephemeral_id": "27e2a00a-dab2-4790-8d45-29ad272d0392", | ||
"id": "bef8099b-68f6-4621-8089-2229b35a669d", | ||
"name": "docker-fleet-agent", | ||
"type": "filebeat", | ||
"version": "8.3.2" | ||
}, | ||
"data_stream": { | ||
"dataset": "journald.log", | ||
"namespace": "ep", | ||
"type": "logs" | ||
}, | ||
"ecs": { | ||
"version": "8.0.0" | ||
}, | ||
"elastic_agent": { | ||
"id": "bef8099b-68f6-4621-8089-2229b35a669d", | ||
"snapshot": false, | ||
"version": "8.3.2" | ||
}, | ||
"event": { | ||
"agent_id_status": "verified", | ||
"code": "ec387f577b844b8fa948f33cad9a75e6", | ||
"created": "2022-08-18T18:14:11.588Z", | ||
"dataset": "journald.log", | ||
"ingested": "2022-08-18T18:14:15Z", | ||
"kind": "event" | ||
}, | ||
"host": { | ||
"hostname": "sleipnir", | ||
"id": "505afdafda3b4f33a63749ae39284742" | ||
}, | ||
"input": { | ||
"type": "journald" | ||
}, | ||
"journald": { | ||
"custom": { | ||
"available": "0", | ||
"available_pretty": "0B", | ||
"current_use": "1023455232", | ||
"current_use_pretty": "976.0M", | ||
"disk_available": "6866636800", | ||
"disk_available_pretty": "6.3G", | ||
"disk_keep_free": "1466253312", | ||
"disk_keep_free_pretty": "1.3G", | ||
"journal_name": "System journal", | ||
"journal_path": "/var/log/journal/505afdafda3b4f33a63749ae39284742", | ||
"limit": "977502208", | ||
"limit_pretty": "932.2M", | ||
"max_use": "977502208", | ||
"max_use_pretty": "932.2M" | ||
}, | ||
"gid": 0, | ||
"host": { | ||
"boot_id": "fa3c2e3080dc4cd5be5cb5a43e140d51" | ||
}, | ||
"pid": 19317, | ||
"process": { | ||
"capabilities": "25402800cf", | ||
"command_line": "/lib/systemd/systemd-journald", | ||
"executable": "/lib/systemd/systemd-journald", | ||
"name": "systemd-journal" | ||
}, | ||
"uid": 0 | ||
}, | ||
"log": { | ||
"syslog": { | ||
"facility": { | ||
"code": 3 | ||
}, | ||
"identifier": "systemd-journald", | ||
"priority": 6 | ||
} | ||
}, | ||
"message": "System journal (/var/log/journal/505afdafda3b4f33a63749ae39284742) is 976.0M, max 932.2M, 0B free.", | ||
"process": { | ||
"args": [ | ||
"/lib/systemd/systemd-journald" | ||
], | ||
"args_count": 1, | ||
"command_line": "/lib/systemd/systemd-journald", | ||
"pid": 19317 | ||
}, | ||
"systemd": { | ||
"cgroup": "/system.slice/systemd-journald.service", | ||
"invocation_id": "7c11cda63635437bafe21c92851618a8", | ||
"slice": "system.slice", | ||
"transport": "driver", | ||
"unit": "systemd-journald.service" | ||
}, | ||
"tags": [ | ||
"forwarded" | ||
], | ||
"user": { | ||
"group": { | ||
"id": "0" | ||
}, | ||
"id": "0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters