logging-changes.asciidoc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [discrete]
  2. [[breaking_80_logging_changes]]
  3. ==== Logging changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. .{es} JSON logs now comply with ECS.
  8. [%collapsible]
  9. ====
  10. *Details* +
  11. {es}'s {ref}/logging.html[JSON logs] now comply with the
  12. {ecs-ref}/index.html[Elastic Common Schema (ECS)]. Previously, {es}'s JSON logs
  13. used a custom schema.
  14. *Impact* +
  15. If your application parses {es}'s JSON logs, update it to support the new ECS
  16. format.
  17. ====
  18. .{es} no longer emits deprecation logs or slow logs in plaintext.
  19. [%collapsible]
  20. ====
  21. *Details* +
  22. {es} no longer emits a plaintext version of the following logs:
  23. * Deprecation logs
  24. * Indexing slow logs
  25. * Search slow logs
  26. These logs are now only available in JSON.
  27. Server logs are still available in both a JSON and plaintext format.
  28. *Impact* +
  29. If your application parses {es}'s plaintext logs, update it to use the new ECS
  30. JSON logs.
  31. ====
  32. [[audit-logs-are-rolled-over-and-archived-by-size]]
  33. .Audit logs are rolled-over and archived by size.
  34. [%collapsible]
  35. ====
  36. *Details* +
  37. In addition to the existing daily rollover, the security audit logs are
  38. now rolled-over by disk size limit as well. Moreover, the rolled-over logs
  39. are also gzip compressed.
  40. *Impact* +
  41. The names of rolled over audit log files (but not the name of the current log)
  42. have changed.
  43. If you've set up automated tools to consume these files, you must configure them
  44. to use the new names and to possibly account for `gzip` archives instead of
  45. plain text. The Docker build of {es} is not affected because it logs on `stdout`,
  46. where rollover is not performed.
  47. ====
  48. //end::notable-breaking-changes[]