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

[Synthetics] Move processors to kibana #7196

Merged
merged 4 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/synthetics/changelog.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
{{processors}}
{{/if}}
39 changes: 5 additions & 34 deletions packages/synthetics/data_stream/browser/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
25 changes: 3 additions & 22 deletions packages/synthetics/data_stream/http/agent/stream/http.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
47 changes: 9 additions & 38 deletions packages/synthetics/data_stream/http/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -292,4 +255,12 @@ streams:
multi: false
required: false
show_user: true
default: 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.
25 changes: 3 additions & 22 deletions packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
{{processors}}
{{/if}}
45 changes: 8 additions & 37 deletions packages/synthetics/data_stream/icmp/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
25 changes: 3 additions & 22 deletions packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
{{processors}}
{{/if}}
45 changes: 8 additions & 37 deletions packages/synthetics/data_stream/tcp/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
2 changes: 1 addition & 1 deletion packages/synthetics/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down