diff --git a/packages/synthetics/changelog.yml b/packages/synthetics/changelog.yml index 4c331a1a842..3c5312c1b47 100644 --- a/packages/synthetics/changelog.yml +++ b/packages/synthetics/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.0.4" + changes: + - description: Move processors to kibana + type: enhancement + link: https://github.com/elastic/integrations/pull/7196 - version: "1.0.3" changes: - description: Added field to override monitor.id diff --git a/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs b/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs index 04744868101..624c18f3f74 100644 --- a/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs +++ b/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs @@ -50,26 +50,7 @@ filter_journeys.tags: {{filter_journeys.tags}} {{#if ignore_https_errors}} ignore_https_errors: {{ignore_https_errors}} {{/if}} +{{#if processors}} processors: - - add_fields: - target: '' - fields: - monitor.fleet_managed: true - {{#if config_id}} - config_id: {{config_id}} - {{/if}} - {{#if run_once}} - run_once: {{run_once}} - {{/if}} - {{#if test_run_id}} - test_run_id: {{test_run_id}} - {{/if}} - {{#if monitor.project.name}} - monitor.project.name: {{monitor.project.name}} - {{/if}} - {{#if monitor.project.id}} - monitor.project.id: {{monitor.project.id}} - {{/if}} - {{#if monitor.id}} - monitor.id: {{monitor.id}} - {{/if}} \ No newline at end of file +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/synthetics/data_stream/browser/manifest.yml b/packages/synthetics/data_stream/browser/manifest.yml index 423b94da32f..c118f607dc9 100644 --- a/packages/synthetics/data_stream/browser/manifest.yml +++ b/packages/synthetics/data_stream/browser/manifest.yml @@ -151,46 +151,17 @@ streams: multi: false required: false show_user: false - - name: config_id - type: text - title: Config Id - multi: false - required: false - show_user: false - - name: run_once - type: bool - title: Whether the monitor is run once - multi: false - required: false - show_user: true - default: false - - name: test_run_id - type: text - title: Test now run id - multi: false - required: false - show_user: false - name: origin type: text title: Origin of the monitor, ui or project multi: false required: false show_user: false - - name: monitor.project.id - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.project.name - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.id - type: text - title: Monitor id to override + - name: processors + type: yaml + title: Processors multi: false required: false show_user: false + description: >- + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. \ No newline at end of file diff --git a/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs b/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs index ae15d888ca5..c0771d6b60d 100644 --- a/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs +++ b/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs @@ -86,26 +86,7 @@ mode: {{mode}} {{/if}} ipv4: {{ipv4}} ipv6: {{ipv6}} +{{#if processors}} processors: - - add_fields: - target: '' - fields: - monitor.fleet_managed: true - {{#if config_id}} - config_id: {{config_id}} - {{/if}} - {{#if run_once}} - run_once: {{run_once}} - {{/if}} - {{#if test_run_id}} - test_run_id: {{test_run_id}} - {{/if}} - {{#if monitor.project.name}} - monitor.project.name: {{monitor.project.name}} - {{/if}} - {{#if monitor.project.id}} - monitor.project.id: {{monitor.project.id}} - {{/if}} - {{#if monitor.id}} - monitor.id: {{monitor.id}} - {{/if}} +{{processors}} +{{/if}} diff --git a/packages/synthetics/data_stream/http/manifest.yml b/packages/synthetics/data_stream/http/manifest.yml index c2e80929a62..2378aed71b2 100644 --- a/packages/synthetics/data_stream/http/manifest.yml +++ b/packages/synthetics/data_stream/http/manifest.yml @@ -230,49 +230,12 @@ streams: multi: false required: false show_user: false - - name: config_id - type: text - title: Config Id - multi: false - required: false - show_user: false - - name: run_once - type: bool - title: Whether the monitor is run once - multi: false - required: false - show_user: true - default: false - - name: test_run_id - type: text - title: Test now run id - multi: false - required: false - show_user: false - name: origin type: text title: Origin of the monitor, ui or project multi: false required: false show_user: false - - name: monitor.project.id - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.project.name - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.id - type: text - title: Monitor id to override - multi: false - required: false - show_user: false - name: mode type: text title: Heartbeat mode @@ -292,4 +255,12 @@ streams: multi: false required: false show_user: true - default: true \ No newline at end of file + default: true + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: >- + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. \ No newline at end of file diff --git a/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs b/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs index 79e9952e27e..d752b5edd0d 100644 --- a/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs +++ b/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs @@ -29,26 +29,7 @@ mode: {{mode}} {{/if}} ipv4: {{ipv4}} ipv6: {{ipv6}} +{{#if processors}} processors: - - add_fields: - target: '' - fields: - monitor.fleet_managed: true - {{#if config_id}} - config_id: {{config_id}} - {{/if}} - {{#if run_once}} - run_once: {{run_once}} - {{/if}} - {{#if test_run_id}} - test_run_id: {{test_run_id}} - {{/if}} - {{#if monitor.project.name}} - monitor.project.name: {{monitor.project.name}} - {{/if}} - {{#if monitor.project.id}} - monitor.project.id: {{monitor.project.id}} - {{/if}} - {{#if monitor.id}} - monitor.id: {{monitor.id}} - {{/if}} \ No newline at end of file +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/synthetics/data_stream/icmp/manifest.yml b/packages/synthetics/data_stream/icmp/manifest.yml index 5ec244cdb12..c3d0792fb50 100644 --- a/packages/synthetics/data_stream/icmp/manifest.yml +++ b/packages/synthetics/data_stream/icmp/manifest.yml @@ -105,49 +105,12 @@ streams: multi: false required: false show_user: false - - name: config_id - type: text - title: Config Id - multi: false - required: false - show_user: false - - name: run_once - type: bool - title: Whether the monitor is run once - multi: false - required: false - show_user: true - default: false - - name: test_run_id - type: text - title: Test now run id - multi: false - required: false - show_user: false - name: origin type: text title: Origin of the monitor, ui or project multi: false required: false show_user: false - - name: monitor.project.id - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.project.name - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.id - type: text - title: Monitor id to override - multi: false - required: false - show_user: false - name: mode type: text title: Heartbeat mode @@ -168,3 +131,11 @@ streams: required: false show_user: true default: true + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: >- + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. \ No newline at end of file diff --git a/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs b/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs index 4909faee944..dfd5b3386c5 100644 --- a/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs +++ b/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs @@ -56,26 +56,7 @@ mode: {{mode}} {{/if}} ipv4: {{ipv4}} ipv6: {{ipv6}} +{{#if processors}} processors: - - add_fields: - target: '' - fields: - monitor.fleet_managed: true - {{#if config_id}} - config_id: {{config_id}} - {{/if}} - {{#if run_once}} - run_once: {{run_once}} - {{/if}} - {{#if test_run_id}} - test_run_id: {{test_run_id}} - {{/if}} - {{#if monitor.project.name}} - monitor.project.name: {{monitor.project.name}} - {{/if}} - {{#if monitor.project.id}} - monitor.project.id: {{monitor.project.id}} - {{/if}} - {{#if monitor.id}} - monitor.id: {{monitor.id}} - {{/if}} \ No newline at end of file +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/synthetics/data_stream/tcp/manifest.yml b/packages/synthetics/data_stream/tcp/manifest.yml index ddbfba5c4d7..1fab0c4782b 100644 --- a/packages/synthetics/data_stream/tcp/manifest.yml +++ b/packages/synthetics/data_stream/tcp/manifest.yml @@ -159,49 +159,12 @@ streams: multi: false required: false show_user: false - - name: config_id - type: text - title: Config Id - multi: false - required: false - show_user: false - - name: run_once - type: bool - title: Whether the monitor is run once - multi: false - required: false - show_user: true - default: false - - name: test_run_id - type: text - title: Test now run id - multi: false - required: false - show_user: false - name: origin type: text title: Origin of the monitor, ui or project multi: false required: false show_user: false - - name: monitor.project.id - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.project.name - type: text - title: Project id - multi: false - required: false - show_user: true - - name: monitor.id - type: text - title: Monitor id to override - multi: false - required: false - show_user: false - name: mode type: text title: Heartbeat mode @@ -222,3 +185,11 @@ streams: required: false show_user: true default: true + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: >- + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. \ No newline at end of file diff --git a/packages/synthetics/manifest.yml b/packages/synthetics/manifest.yml index b3817335f4e..cc8dc7956ad 100644 --- a/packages/synthetics/manifest.yml +++ b/packages/synthetics/manifest.yml @@ -2,7 +2,7 @@ format_version: 1.0.0 name: synthetics title: Elastic Synthetics description: Internal Elastic integration for providing access to private locations. -version: 1.0.3 +version: 1.0.4 categories: ["observability"] release: ga type: integration