Skip to content

Support more ECS service fields #129

Closed
@szisiu

Description

@szisiu

Currently, only service name is supported.

It'd be beneficial to add more service fields from ECS, eg.: id, version, type. So when inspecting logs in kibana we could see not only the service name but also the service version, etc.

New fields should be passed through config files or directly in the code (which I am interested in):

RollingFileAppender.newBuilder()
                    .setName("ecs_file_appender")
                    .setLayout(EcsLayout.newBuilder()
                            .setServiceName("my_service_name")
                            .setServiceVersion("my_service_version")
                            // more service config options
                            .build())
                     // more config options
                    .build();

Refs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-javacommunityIssues and PRs created by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions