-
Notifications
You must be signed in to change notification settings - Fork 5k
filebeat,libbeat,x-pack/filebeat: clean up state store types #43063
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
Conversation
cf6742d to
ce38f10
Compare
|
/test |
ce38f10 to
0d96623
Compare
|
/test |
2633073 to
403b3ad
Compare
This centralises the state store to simplify and clarify the use of persistent stores.
403b3ad to
a09c2b9
Compare
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
leehinman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for the linter.
|
@leehinman All the linter errors are due to incorrect use of the linter and how that breaks it. None can be fixed in this PR. Issue #39589 |
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
|
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
filebeat/beater/store.go
Outdated
|
|
||
| // Access returns the storage registry depending on the type. Default is the file store. | ||
| func (s *filebeatStore) Access(typ string) (*statestore.Store, error) { | ||
| // AccessType returns the storage registry depending on the type. Default is the file store. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/AccessType/StoreFor/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
tommyers-elastic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This centralises the state store to simplify and clarify the use of persistent stores. (cherry picked from commit df62e10) # Conflicts: # filebeat/beater/filebeat.go # filebeat/input/journald/environment_test.go
This centralises the state store to simplify and clarify the use of persistent stores. (cherry picked from commit df62e10)
…#43365) This centralises the state store to simplify and clarify the use of persistent stores. (cherry picked from commit df62e10) Co-authored-by: Dan Kortschak <[email protected]>
…te store types (#43366) * filebeat,libbeat,x-pack/filebeat: clean up state store types (#43063) This centralises the state store to simplify and clarify the use of persistent stores. (cherry picked from commit df62e10) # Conflicts: # filebeat/beater/filebeat.go # filebeat/input/journald/environment_test.go * fix conflicts --------- Co-authored-by: Dan Kortschak <[email protected]>
Proposed commit message
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs