-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal support for Beats > 7.0 (#7879)
Beats 7.0 changed a lot of their field name schema. https://www.elastic.co/guide/en/beats/libbeat/7.x/breaking-changes-7.0.html#_field_name_changes This is a minimal change to extract the hostname from pre-7 and post-7 type beats messages. Fixes #6501
- Loading branch information
Showing
3 changed files
with
51 additions
and
3 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
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
31 changes: 31 additions & 0 deletions
31
graylog2-server/src/test/resources/org/graylog/plugins/beats/winlogbeat-v7.json
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,31 @@ | ||
{ | ||
"@metadata": { | ||
"beat": "winlogbeat" | ||
}, | ||
"@timestamp": "2016-11-24T12:13:00.000Z", | ||
"agent": { | ||
"hostname": "example.local", | ||
"version": "7.6.2" | ||
}, | ||
"gl2_source_collector": "5a4b9161-2f6a-48f6-b121-109dc85c8481", | ||
"winlog": { | ||
"computer_name": "windows", | ||
"event_id": 5024, | ||
"keywords": [ | ||
"Audit Success" | ||
], | ||
"level": "Information", | ||
"log_name": "Security", | ||
"message": "The Windows Firewall service started successfully.", | ||
"opcode": "Info", | ||
"process_id": 500, | ||
"provider_guid": "{54849625-5478-4994-A5BA-3E3B0328C30D}", | ||
"record_number": "2126", | ||
"source_name": "Microsoft-Windows-Security-Auditing", | ||
"tags": [ | ||
"windows", | ||
"iis" | ||
], | ||
"task": "Other System Events" | ||
} | ||
} |