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
Elastic Agent does not pass down input id to filestream #30300
Comments
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
@jlind23 I see this labeled as |
It causes data duplication when multiple inputs are set in filestream config. |
We can populate down, but I do agree with @kvch we would need to investigate the root cause. |
Yes, but even if the rootcause is found, it is still a bug on our end to not populate parameters. |
@kvch does every input now support an ID? |
Yes, all inputs support IDs in Filebeat. Passing down IDs is also important for |
@kvch Ok, well it's only done for FB input in the linked PR. |
@kvch |
This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: elastic#30300
…30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300
…30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e) # Conflicts: # x-pack/elastic-agent/pkg/agent/program/supported.go
…30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e)
…30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e)
… Filebeat configuration (#30862) * Propagate input id from the Agent policy into Filebeat configuration (#30386) This allows an ID defined on the Agent Policy for any inputs supported by Filebeat to be propagated down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will be sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e) Co-authored-by: Pier-Hugues Pellerin <phpellerin@gmail.com>
…30386) (#30863) This allows an ID defined on the Agent Policy for any inputs supported by Filebeat to be propagated down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will be sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e) Co-authored-by: Pier-Hugues Pellerin <phpellerin@gmail.com>
…30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e)
…Filebeat configuration (#30864) * Propagate input id from the Agent policy into Filebeat configuration (#30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300 (cherry picked from commit b318f6e) * changelog Co-authored-by: Pier-Hugues Pellerin <phpellerin@gmail.com>
…lastic#30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: elastic#30300
…lastic#30386) (elastic#30863) This allows an ID defined on the Agent Policy for any inputs supported by Filebeat to be propagated down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will be sent to Filebeat. Fixes: elastic#30300 (cherry picked from commit 24f6449) Co-authored-by: Pier-Hugues Pellerin <phpellerin@gmail.com>
…30386) * Propage input id from the Agent policy into Filebeat configuration This allow an ID defined on the Agent Policy for any inputs supported by Filebeat to be propaged down to the Filebeat configuration. Note: No validation is done on the field, if the field is present it will sent to Filebeat. Fixes: #30300
When using filestream with multiple input you can specify for each input an id such as follow:
` - type: filestream
enabled: true
id: id1
paths:
- /var/log/k8sapps/myapp/*.log
fields:
app.name: "myapp"
fields_under_root: true
For now there is a bug and Elastic Agent does not pass down this id parameter to its filestream inputs
The text was updated successfully, but these errors were encountered: