-
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
[Beats] Hints autodiscovery support with Filestream input #35984
Comments
All the json options of log input are identical to the ndjson ones of filestream, except one. In log input, In filestream input We need to decide how to tackle this. 2 options:
|
For me we need to document and make clear:
And in the second block with filestream I would say to allow users to set target. |
+1 for the 2nd option. Since only the Filestream input will be used under the hood I would go with creating a docs matrix to map the Log's input json options to the Filestream's ones. In this way we don't break the old users and we also have an update set of hints that correspond to the Filestream input. |
Describe the enhancement:
The filestream input is the suggested input type for log processing with filebeat.
The hints autodiscovery is based on container input type (see code here) . So by default logs will be retrieved from the container using the container input.
So with this enhancement request we would like users to define hints based autodiscovery with filestream input type and to be able:
co.elastic.logs/*
annotations in the hints annotations of the application pods andDescribe a specific use case for the enhancement or feature:
Filebeat configuration:
See above that
type: filestream
The user will define in the pod:
And those will produce the following block:
So overall configuration of filebeat should transform to:
Same logic needs to be supported for rest of parsers
This was also previously discussed at #34354. Check also that one for additional context.
The text was updated successfully, but these errors were encountered: