-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Move all modules to using filestream #41861
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
After #40197 is done, we don't need to put the fingerprint configuration in this task anymore, it's going to be a new default. |
Assigning this to you @flexitrev as per my conversation with @rdner you'll be chasing down the modules owner and ask them to migrate. |
We should have something to check against options used, to see if they require renaming - |
@flexitrev i wanted to link this older issue here: elastic/integrations#2518 I think the ask (if I' not mistaken) is to have all the integration owners to modify/migrate their packages to use filestream. |
@rdner what will be the impact if the modules are not migrated? |
The main impact is that we cannot delete the code of the Additionally, |
Describe the enhancement:
We currently have a lot of modules that are still using the
log
input type (deprecated since 7.16.0) with unstable file identification that, due to file rotation, leads to parsing errors (e.g. multiline grok or JSON parser), data duplication and even possible data loss.Describe a specific use case for the enhancement or feature:
We should migrate all of the above mentioned modules to using
type: filestream
+fingerprint
file identity.For example, this Elasticsearch GC module would change from:
to
The main challenge here is to introduce the ability to set a unique ID to each module. We can use a default value unique to each module but if we allow users to run multiple modules of the same type, their filestream inputs must have unique identifiers.
Useful links
take_over
https://www.elastic.co/guide/en/beats/filebeat/8.16/filebeat-input-filestream.html#filebeat-input-filestream-take-overprospector.scanner.fingerprint
https://www.elastic.co/guide/en/beats/filebeat/8.16/filebeat-input-filestream.html#filebeat-input-filestream-scan-fingerprintfile_identity
https://www.elastic.co/guide/en/beats/filebeat/8.16/filebeat-input-filestream.html#_file_identity_2The text was updated successfully, but these errors were encountered: