Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Script to generate breaking field changes list (#10405)
This script generates a list with breaking field changes based on ecs-migration.yml. For each Beat it can generate the list containing libbeat fields + the fields from the Beat itself. For now it's included in the Breaking changes for 7.0 and one table exists for each Beat. Few questions: * Should we have this in libbeat or as part of each Beat breaking changes? * How will this conflict with the breaking changes listed in auditbeat? * Should we add more details on how the fields changed like in some cases there is a scaling factor or the content changed. Most of this info is already in ecs-migration.yml * Who do we do about the changes where we changed the type. It's not yet in the ecs-migration.yml files. An example output looks as following: ``` In version 7.0 the following fields were renamed. .Renamed Fields in 7.0 [frame="topbot",options="header"] |====================== |Old Field|New Field |`apache2.access.body_sent.bytes` |`http.response.body.bytes` |`beat.hostname` |`agent.hostname` |`beat.name` |`host.name` |`beat.timezone` |`event.timezone` |`beat.version` |`agent.version` |`docker.container.id` |`container.id` |`docker.container.image` |`container.image.name` |`docker.container.labels` |`container.labels` |`docker.container.name` |`container.name` |`elasticsearch.slowlog.took_millis` |`event.duration` |`haproxy.http.request.time_active_ms` |`event.duration` |`haproxy.total_waiting_time_ms` |`event.duration` |`iis.access.body_received.bytes` |`http.request.body.bytes` |`iis.access.body_sent.bytes` |`http.response.body.bytes` |`iis.access.request_time_ms` |`event.duration` |`meta.cloud.availability_zone` |`cloud.availability_zone` |`meta.cloud.instance_id` |`cloud.instance.id` |`meta.cloud.instance_name` |`cloud.instance.name` |`meta.cloud.machine_type` |`cloud.machine.type` |`meta.cloud.project_id` |`cloud.project.id` |`meta.cloud.provider` |`cloud.provider` |`meta.cloud.region` |`cloud.region` |`mysql.slowlog.query_time.sec` |`event.duration` |`nginx.access.body_sent.bytes` |`http.response.body.bytes` |`postgresql.log.duration` |`event.duration` |`process.exe` |`process.executable` |`traefik.access.body_sent.bytes` |`http.response.body.bytes` |`traefik.access.duration` |`event.duration` |====================== ```
- Loading branch information