-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Adding default templates for Metricbeat ECS data #81744
Adding default templates for Metricbeat ECS data #81744
Conversation
Pinging @elastic/es-data-management (Team:Data Management) |
@elasticmachine update branch |
@elasticmachine run elasticsearch-ci/part-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some read-through observations, still don't quite have my head wrapped around all this.
@@ -0,0 +1,2198 @@ | |||
{ | |||
"index_patterns": [".monitoring-beats-${xpack.stack.monitoring.template.version}-*"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the same pattern as https://github.com/elastic/elasticsearch/blob/master/x-pack/plugin/core/src/main/resources/monitoring-es.json#L2 - are we planning to introduce a new variable to set the mb version to 10
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently the xpack.stack.monitoring.template.version
is set to version 8 for the metricbeat indices. We talked it over a bit more and agreed that 8 was indeed the more appropriate version number to put here. The monitoring-es.json file uses the xpack.monitoring.template.version
property (doesn't contain stack
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah... xpack.monitoring.template.version
vs xpack.stack.monitoring.template.version
- I missed the distinction. Thanks!
Co-authored-by: Mat Schaffer <mat@schaffer.me>
@elasticmachine update branch |
This PR adds four new templates that are automatically installed from the Monitoring plugin. In 8.x, Metricbeat will be writing its data in ECS compliant format, even when used with xpack mode enabled (stack monitoring). In order to continue to support the legacy data format, new mappings have been created with the new ECS fields for indexing data, and alias fields for the legacy format which point to the corresponding ECS fields. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Mat Schaffer <mat@schaffer.me>
This PR adds four new templates that are automatically installed from the Monitoring plugin. In 8.x, Metricbeat will be writing its data in ECS compliant format, even when used with xpack mode enabled (stack monitoring). In order to continue to support the legacy data format, new mappings have been created with the new ECS fields for indexing data, and alias fields for the legacy format which point to the corresponding ECS fields. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Mat Schaffer <mat@schaffer.me>
This PR adds four new templates that are automatically installed from the Monitoring plugin.
In 8.x, Metricbeat will be writing its data in ECS compliant format, even when used with xpack mode enabled (stack monitoring). In order to continue to support the legacy data format, new mappings have been created with the new ECS fields for indexing data, and alias fields for the legacy format which point to the corresponding ECS fields.
New templates added:
.monitoring-beats-mb
matching on.monitoring-beats-8-*
defined inmonitoring-beats-mb.json
.monitoring-es-mb
matching on.monitoring-es-8-*
defined inmonitoring-es-mb.json
.monitoring-kibana-mb
matching on.monitoring-kibana-8-*
defined inmonitoring-kibana-mb.json
.monitoring-logstash-mb
matching on.monitoring-logstash-8-*
defined inmonitoring-logstash-mb.json
All templates are being created with internal version
8000099