-
Notifications
You must be signed in to change notification settings - Fork 600
Add ingest_pipeline data streams and dashboards to Elasticsearch package #4597
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
13a28d0
[POC] Add ingest pipeline data streams to es package
joshdover b23a391
Update with working ingest pipeline, mappings, and dashboard
joshdover d6d2950
Temp use logs instead
joshdover 7c5ce88
Update
joshdover 264bc06
Update with more cluster and node fields
joshdover cdde6bf
Add support for displaying metricbeat data
joshdover e50690a
Add dashboard for processor metrics
joshdover 98630c2
Update package to use metricbeat + new field names
joshdover fe97cf9
Merge remote-tracking branch 'upstream/main' into es-ingest
joshdover 3714001
Bump minimum version to 8.7.0 for ingest_pipeline support
joshdover ad8c100
Merge remote-tracking branch 'upstream/main' into es-ingest
joshdover e113825
bump version
joshdover 08f2d29
Merge remote-tracking branch 'upstream/main' into es-ingest
joshdover 1904ee1
Update changelog
joshdover 31a3f3b
Fix system test config
joshdover bacf756
Merge remote-tracking branch 'upstream/main' into es-ingest
joshdover 1b5b4c3
Add ingest pipeline load to test
joshdover c49c82b
Merge remote-tracking branch 'upstream/main' into es-ingest
joshdover 7c91ebd
Bump version to 1.3.0 GA
joshdover 1ae0c6c
Merge remote-tracking branch 'upstream/main' into es-ingest
joshdover fe9e84e
Bump to 1.4.0-beta1
joshdover File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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: httpjson | ||
| dataset: elasticsearch.stack_monitoring.ingest | ||
| vars: | ||
| hosts: | ||
| - "https://{{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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
20 changes: 20 additions & 0 deletions
20
packages/elasticsearch/data_stream/ingest_pipeline/manifest.yml
This file contains hidden or 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,20 @@ | ||
| type: metrics | ||
| title: Elasticsearch ingest metrics | ||
| 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.