-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Filebeat system.auth to ECS (#9138)
* Space. The final frontier. * Perform all the straightforward renames at once. - system.auth.hostname => host.hostname - system.auth.pid => process.pid - system.auth.user => user.name - system.auth.program => process.name - system.auth.ssh.ip => source.ip - system.auth.ssh.port => source.port - system.auth.ssh.geoip.* => source.geo.* * Rename `system.auth.message` to `message`... Note that there's no log in this format being tested by the integration tests, at this time. * Perform a few more renames and type conversion on numeric fields. * Changelog * Move `group.*` definitions to a safer haven. * List the fields that moved in ecs-migration.yml * Replace previous definitions with aliases for all normalized fields * Revert the mapping of ssh.signature to event.hash until discussed * Move the fields not aliased to the top, to promote sanity * Bring back `dropped_ip` and copy it to `source.ip` when it's there. Damn, painless scripting is painful * Fix test failure after introducing aliases. `'Cannot write to a field alias [system.auth.timestamp].'` * Add back missing log entry, likely lost during rebase * Output to group.*, not to the alias
- Loading branch information
Showing
8 changed files
with
311 additions
and
283 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.