Skip to content

[Filebeat] Include input metadata in logs #45377

@taylor-swanson

Description

@taylor-swanson

Overview

For loggers in inputs, additional metadata should be added to enrich logs about the input type, id, and any other attribute that would be necessary for identifying/filtering logs in Kibana, namely the Agent Logs UI.

This issue builds off the proposal in this RFC. While the RFC proposed extending the unit.* fields, it would be better to add to the existing input.* fields.

Proposed fields:

  • input.type
  • input.id
  • input.name

Problems

Elastic Agent uses filestream to read Filebeat logs and input.type is always overridden with filestream

Related Issues

  • Relates elastic/integration-experience#32

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions