-
Notifications
You must be signed in to change notification settings - Fork 5k
Add JSON options to hints #12634
Copy link
Copy link
Closed
Labels
FilebeatFilebeatFilebeatTeam:IntegrationsLabel for the Integrations teamLabel for the Integrations teamcontainersRelated to containers use caseRelated to containers use caseenhancementin progressPull request is currently in progress.Pull request is currently in progress.v7.6.0
Metadata
Metadata
Assignees
Labels
FilebeatFilebeatFilebeatTeam:IntegrationsLabel for the Integrations teamLabel for the Integrations teamcontainersRelated to containers use caseRelated to containers use caseenhancementin progressPull request is currently in progress.Pull request is currently in progress.v7.6.0
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hints based autodiscover provides a way for user to configure how a containers logs will be ingested. It would be nice to add existing JSON parameters as hints, making it possible for containers logging JSON documents to be configured in a way that would make Filebeat decode these.
I think al the existing json options make sense: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html#filebeat-input-log-config-json, so they would look like this:
More details: https://discuss.elastic.co/t/decode-json-logs-filebeat-docker-hints-based-autodiscover/185953