-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ingest_pipeline data streams and dashboards to Elasticsearch pack…
…age (#4597)
- Loading branch information
Showing
13 changed files
with
7,173 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/elasticsearch/data_stream/ingest_pipeline/_dev/test/system/test-default-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
type: elasticsearch/metrics | ||
dataset: elasticsearch.ingest_pipeline | ||
vars: | ||
hosts: | ||
- "http://{{Hostname}}:9200" | ||
username: elastic | ||
password: changeme | ||
data_stream: ~ |
15 changes: 15 additions & 0 deletions
15
packages/elasticsearch/data_stream/ingest_pipeline/agent/stream/stream.yml.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
metricsets: ["ingest_pipeline"] | ||
hosts: | ||
{{#each hosts}} | ||
- {{this}} | ||
{{/each}} | ||
scope: {{scope}} | ||
{{#if username}} | ||
username: {{username}} | ||
{{/if}} | ||
{{#if password}} | ||
password: {{password}} | ||
{{/if}} | ||
period: {{period}} | ||
|
||
ingest_pipeline.processor_sample_rate: {{ingest_pipeline_processor_sampling_rate}} |
9 changes: 9 additions & 0 deletions
9
packages/elasticsearch/data_stream/ingest_pipeline/fields/base-fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- name: data_stream.type | ||
type: constant_keyword | ||
description: Data stream type. | ||
- name: data_stream.dataset | ||
type: constant_keyword | ||
description: Data stream dataset. | ||
- name: data_stream.namespace | ||
type: constant_keyword | ||
description: Data stream namespace. |
21 changes: 21 additions & 0 deletions
21
packages/elasticsearch/data_stream/ingest_pipeline/fields/ecs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- name: '@timestamp' | ||
external: ecs | ||
- name: ecs.version | ||
external: ecs | ||
- name: event.dataset | ||
external: ecs | ||
- name: event.duration | ||
external: ecs | ||
- name: event.module | ||
external: ecs | ||
- name: host.name | ||
external: ecs | ||
- name: service.address | ||
type: keyword | ||
description: Service address | ||
- name: service.type | ||
external: ecs | ||
- name: service.name | ||
external: ecs | ||
- name: error.message | ||
external: ecs |
45 changes: 45 additions & 0 deletions
45
packages/elasticsearch/data_stream/ingest_pipeline/fields/fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
- name: elasticsearch.ingest_pipeline | ||
type: group | ||
release: beta | ||
description: Runtime metrics on ingest pipeline execution | ||
fields: | ||
- name: name | ||
type: wildcard | ||
description: Name / id of the ingest pipeline | ||
- name: total | ||
type: group | ||
description: Metrics on the total ingest pipeline execution, including all processors. | ||
fields: | ||
- name: count | ||
type: long | ||
description: Number of documents processed by this pipeline | ||
- name: failed | ||
type: long | ||
description: Number of documented failed to process by this pipeline | ||
- name: time.total.ms | ||
type: long | ||
description: Total time spent processing documents through this pipeline, inclusive of other pipelines called | ||
- name: time.self.ms | ||
type: long | ||
description: Time spent processing documents through this pipeline, exclusive of other pipelines called | ||
- name: processor | ||
type: group | ||
fields: | ||
- name: type | ||
type: keyword | ||
description: The type of ingest processor | ||
- name: type_tag | ||
type: keyword | ||
description: The type and the tag for this processor in the format "<type>:<tag>" | ||
- name: order_index | ||
type: long | ||
description: The order this processor appears in the pipeline definition | ||
- name: count | ||
type: long | ||
description: Number of documents processed by this processor | ||
- name: failed | ||
type: long | ||
description: Number of documented failed to process by this processor | ||
- name: time.total.ms | ||
type: long | ||
description: Total time spent processing documents through this processor |
26 changes: 26 additions & 0 deletions
26
packages/elasticsearch/data_stream/ingest_pipeline/fields/package-fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
- name: elasticsearch | ||
type: group | ||
fields: | ||
- name: cluster.name | ||
type: keyword | ||
description: | | ||
Elasticsearch cluster name | ||
- name: cluster.id | ||
type: keyword | ||
description: | | ||
Elasticsearch cluster id | ||
- name: node | ||
type: group | ||
fields: | ||
- name: id | ||
type: keyword | ||
description: | | ||
Node ID | ||
- name: name | ||
type: keyword | ||
description: | | ||
Node name | ||
- name: roles | ||
type: keyword | ||
description: | | ||
Node roles |
21 changes: 21 additions & 0 deletions
21
packages/elasticsearch/data_stream/ingest_pipeline/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
type: metrics | ||
title: Elasticsearch ingest metrics | ||
# These metrics should stay at least beta until the metricset in Metricbeat is GA'd | ||
release: experimental | ||
dataset: elasticsearch.ingest_pipeline | ||
elasticsearch: | ||
index_template: | ||
mappings: | ||
dynamic: false | ||
streams: | ||
- input: elasticsearch/metrics | ||
title: Ingest Pipeline metrics | ||
description: Collect metrics on Ingest Pipelines | ||
vars: | ||
- name: ingest_pipeline_processor_sampling_rate | ||
type: text | ||
title: Processor metrics sampling rate | ||
description: How often to collect the processor-level metrics. Number between 0 and 1. | ||
required: true | ||
show_user: true | ||
default: "0.25" |
Oops, something went wrong.