Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #4796 to 6.0: Enhancements to auditbeat file metricset #4807

Merged
merged 2 commits into from
Aug 2, 2017

Conversation

andrewkroh
Copy link
Member

Cherry-pick of PR #4796 to 6.0 branch. Original message:

  • Modify file.paths to be a list instead of a dictionary.
  • Added file.hash_types config option for controlling the hash types.
  • Added new hash types.
  • Fixed file.max_file_size config option. It was missing the "file." prefix when reading the option.
  • Added the ability to specify byte unit suffixes to file.max_file_size.
  • Added documentation for the audit file metricset.

Modify `file.paths` to be a list instead of a dictionary.
Added `file.hash_types` config option for controlling the hash types.
Added new hash types.
Fixed `file.max_file_size` config option. It was missing the "file." prefix when reading the option.
Added the ability to specify byte unit suffixes to `file.max_file_size`.
Added documentation for the audit file metricset.
(cherry picked from commit 07170c6)
@tsg
Copy link
Contributor

tsg commented Aug 1, 2017

Jenkins complains that module/audit/kernel/audit_linux_test.go:31: github.com/elastic/beats/vendor/github.com/elastic/go-libaudit.AuditClient composite literal uses unkeyed fields

Fixes a `go vet` warning.

    module/audit/kernel/audit_linux_test.go:31: github.com/elastic/beats/vendor/github.com/elastic/go-libaudit.AuditClient composite literal uses unkeyed fields
@andrewkroh
Copy link
Member Author

Thanks. I cherry-picked another commit that fixes that issue.

@tsg tsg merged commit a011d65 into elastic:6.0 Aug 2, 2017
@andrewkroh andrewkroh deleted the backport_4796_6.0 branch October 23, 2017 20:19
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…cset (elastic#4807)

* Enhancements to auditbeat file metricset (elastic#4796)

Modify `file.paths` to be a list instead of a dictionary.
Added `file.hash_types` config option for controlling the hash types.
Added new hash types.
Fixed `file.max_file_size` config option. It was missing the "file." prefix when reading the option.
Added the ability to specify byte unit suffixes to `file.max_file_size`.
Added documentation for the audit file metricset.
(cherry picked from commit 7b020cc)

* Update test to use named field in composite literal

Fixes a `go vet` warning.

    module/audit/kernel/audit_linux_test.go:31: github.com/elastic/beats/vendor/github.com/elastic/go-libaudit.AuditClient composite literal uses unkeyed fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants