kibana/docs/extend/logging-config-changes.md
Colleen McGinnis 1814c60017
[docs] Migrate docs from AsciiDoc to Markdown (#212558)
Migrate docs from AsciiDoc to Markdown. The preview can be built after
#212557 is merged.

@florent-leborgne please tag reviewers, add the appropriate label(s),
and take this out of draft when you're ready.

Note: More files are deleted than added here because the content from
some files was moved to
[elastic/docs-content](https://github.com/elastic/docs-content).

**What has moved to
[elastic/docs-content](https://github.com/elastic/docs-content)?**

Public-facing narrative and conceptual docs have moved. Most can now be
found under the following directories in the new docs:
- explore-analyze: Discover, Dashboards, Visualizations, Reporting,
Alerting, dev tools...
- deploy-manage: Stack management (Spaces, user management, remote
clusters...)
- troubleshooting: .... troubleshooting pages

**What is staying in the Kibana repo?**

- Reference content (= anything that is or could be auto-generated):
Settings, syntax references
- Release notes
- Developer guide

---------

Co-authored-by: Florent Le Borgne <florent.leborgne@elastic.co>
2025-03-04 14:56:07 +01:00

33 lines
1.3 KiB
Markdown

---
mapped_pages:
- https://www.elastic.co/guide/en/kibana/current/logging-config-changes.html
---
# 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$$$
| Parameter | Log record in **pattern*** format | Legacy log record in ***text** format |
| --- | --- | --- |
| @timestamp | ISO8601_TZ `2012-01-31T23:33:22.011-05:00` | Absolute `23:33:22.011` |
| logger | `parent.child` | `['parent', 'child']` |
| level | `DEBUG` | `['debug']` |
| meta | stringified JSON object `{"to": "v8"}` | N/A |
| pid | can be configured as `%pid` | N/A |
$$$logging-json-format-old-and-new-example$$$
| Parameter | Log record in **json*** format | Legacy log record ***json** format |
| --- | --- | --- |
| @timestamp | ISO8601_TZ `2012-01-31T23:33:22.011-05:00` | ISO8601 `2012-01-31T23:33:22.011Z` |
| logger | `log.logger: parent.child` | `tags: ['parent', 'child']` |
| level | `log.level: DEBUG` | `tags: ['debug']` |
| meta | merged in log record `{... "to": "v8"}` | merged in log record `{... "to": "v8"}` |
| pid | `process.pid: 12345` | `pid: 12345` |
| type | N/A | `type: log` |
| error | `{ message, name, stack }` | `{ message, name, stack, code, signal }` |