elasticsearch/docs/reference/migration/migrate_8_0/logging-changes.asciidoc
James Rodewig 5061c460e6
[DOCS] Remove unneeded breaking changes files (#80729)
Removes some unneeded files related to the previous organization of breaking changes.

Relates to #79162 and https://github.com/elastic/stack-docs/pull/1877
2021-11-15 17:24:58 -05:00

58 lines
1.7 KiB
Text

[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.
====
[[audit-logs-are-rolled-over-and-archived-by-size]]
.Audit logs are rolled-over and archived by size.
[%collapsible]
====
*Details* +
In addition to the existing daily rollover, the security audit logs are
now rolled-over by disk size limit as well. Moreover, the rolled-over logs
are also gzip compressed.
*Impact* +
The names of rolled over audit log files (but not the name of the current log)
have changed.
If you've set up automated tools to consume these files, you must configure them
to use the new names and to possibly account for `gzip` archives instead of
plain text. The Docker build of {es} is not affected because it logs on `stdout`,
where rollover is not performed.
====
//end::notable-breaking-changes[]