Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change deprecation indexing to use a custom template #64627

Merged

Conversation

pugnascotia
Copy link
Contributor

Backport of #64417.

The implementation for indexing deprecation logs to a data stream (#58924) relied on the Stack template for logs-*-*. This meant that if the user disabled the stack templates, the templates would also be unavailable for the deprecation logs.

Change the implementation so that:

  • There is a separate template for deprecation logging
  • The data stream is marked as hidden
  • The data stream name is prefixed with a period (.)

pugnascotia and others added 3 commits November 2, 2020 16:39
The implementation for indexing deprecation logs to a data stream
(elastic#58924) relied on the Stack template for `logs-*-*`. This meant
that if the user disabled the stack templates, the templates would
also be unavailable for the deprecation logs.

Change the implementation so that:

* There is a separate template for deprecation logging
* The data stream is marked as hidden * The data stream name is
  prefixed with a period (`.`)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Logging)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Nov 5, 2020
@pugnascotia pugnascotia merged commit b0cb54e into elastic:7.x Nov 6, 2020
@pugnascotia pugnascotia deleted the deprecation-indexing-custom-template-7x branch November 6, 2020 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Core/Infra/Logging Log management and logging utilities >enhancement >non-issue Team:Core/Infra Meta label for core/infra team v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants