Closed
Description
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: