Back to Kibana

Logging configuration changes [logging-config-changes]

docs/extend/logging-config-changes.md

9.4.01.2 KB
Original Source

Logging configuration changes [logging-config-changes]

::::{warning} {{kib}} 8.0.0 and later uses a new logging system. Before you upgrade, read the documentation for your {{kib}} version. ::::

$$$logging-pattern-format-old-and-new-example$$$

ParameterLog record in pattern* formatLegacy log record in *text format
@timestampISO8601_TZ 2012-01-31T23:33:22.011-05:00Absolute 23:33:22.011
loggerparent.child['parent', 'child']
levelDEBUG['debug']
metastringified JSON object {"to": "v8"}N/A
pidcan be configured as %pidN/A

$$$logging-json-format-old-and-new-example$$$

ParameterLog record in json* formatLegacy log record *json format
@timestampISO8601_TZ 2012-01-31T23:33:22.011-05:00ISO8601 2012-01-31T23:33:22.011Z
loggerlog.logger: parent.childtags: ['parent', 'child']
levellog.level: DEBUGtags: ['debug']
metamerged in log record {... "to": "v8"}merged in log record {... "to": "v8"}
pidprocess.pid: 12345pid: 12345
typeN/Atype: log
error{ message, name, stack }{ message, name, stack, code, signal }