Skip to content

Commit

Permalink
[DOCS] Migration information about ES logging breaking changes (#79146)
Browse files Browse the repository at this point in the history
Adds breaking change docs for #47105. (ECS layout and plaintext log files removal)

Relates to #46119
  • Loading branch information
pgomulka authored Oct 20, 2021
1 parent afe0010 commit 6aa0db8
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/reference/migration/migrate_8_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ coming[8.0.0]
* <<breaking_80_indices_changes>>
* <<breaking_80_ingest_changes>>
* <<breaking_80_java_changes>>
* <<breaking_80_logging_changes>>
* <<breaking_80_mappings_changes>>
* <<breaking_80_network_changes>>
* <<breaking_80_node_changes>>
Expand Down Expand Up @@ -126,6 +127,7 @@ include::migrate_8_0/ilm.asciidoc[]
include::migrate_8_0/indices.asciidoc[]
include::migrate_8_0/ingest.asciidoc[]
include::migrate_8_0/java.asciidoc[]
include::migrate_8_0/logging.asciidoc[]
include::migrate_8_0/mappings.asciidoc[]
include::migrate_8_0/network.asciidoc[]
include::migrate_8_0/node.asciidoc[]
Expand Down
42 changes: 42 additions & 0 deletions docs/reference/migration/migrate_8_0/logging.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[discrete]
[[breaking_80_logging_changes]]
==== Logging changes

//NOTE: The notable-breaking-changes tagged regions are re-used in the
//Installation and Upgrade Guide

//tag::notable-breaking-changes[]
.{es} JSON logs now comply with ECS.
[%collapsible]
====
*Details* +
{es}'s {ref}/logging.html[JSON logs] now comply with the
{ecs-ref}/index.html[Elastic Common Schema (ECS)]. Previously, {es}'s JSON logs
used a custom schema.
*Impact* +
If your application parses {es}'s JSON logs, update it to support the new ECS
format.
====


.{es} no longer emits deprecation logs or slow logs in plaintext.
[%collapsible]
====
*Details* +
{es} no longer emits a plaintext version of the following logs:
* Deprecation logs
* Indexing slow logs
* Search slow logs
These logs are now only available in JSON.
Server logs are still available in both a JSON and plaintext format.
*Impact* +
If your application parses {es}'s plaintext logs, update it to use the new ECS
JSON logs.
====

// end::notable-breaking-changes[]

0 comments on commit 6aa0db8

Please sign in to comment.