Skip to content

[Core] Logs in JSON layout follow ECS format #90406

@mshustov

Description

@mshustov

Log records emitted in JSON layout contain meta key with additional information (HTTP request/response, process identifier) attached:

meta: {
version: {
from: 'v7',
to: 'v8',
},
},

This structure doesn't follow ECS format. The logging system should restructure additional information from meta key to ECS format as close as possible:
before:

meta: {
  http: {
    request: {
      method: 'GET'
    },
  }
}

after:

http: {
  request: {
    method: 'GET'
  },
}

Metadata

Metadata

Assignees

Labels

Feature:LoggingTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions