Skip to content

Add JSON options to hints #12634

@exekias

Description

@exekias

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:

co.elastic.logs/json.keys_under_root
co.elastic.logs/json.add_error_key
co.elastic.logs/json.message_key

More details: https://discuss.elastic.co/t/decode-json-logs-filebeat-docker-hints-based-autodiscover/185953

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions