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

Adds support for templates index pattern #102

Merged
merged 11 commits into from
Jan 18, 2021
2 changes: 1 addition & 1 deletion code/go/internal/spec/statik.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ streams:
default: /server-status
title: Nginx access logs
description: Collect Nginx access logs
dataset_is_prefix: true
elasticsearch.index_template.mappings:
a:
b: 1
Expand Down
5 changes: 4 additions & 1 deletion versions/1/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@
link: https://github.com/elastic/package-spec/pull/104
- description: Add field for skipping tests.
type: enhancement
link: https://github.com/elastic/package-spec/pull/105
link: https://github.com/elastic/package-spec/pull/105
- description: Add fields for matching datasets dynamically
type: enhancement
link: https://github.com/elastic/package-spec/pull/102
4 changes: 4 additions & 0 deletions versions/1/data_stream/manifest.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ spec:
type: string
examples:
- diagnostics
dataset_is_prefix:
description: if true, the index pattern in the ES template will contain the dataset as a prefix only
type: boolean
default: false
type:
description: Type of data stream
type: string
Expand Down