-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #660 from elastic/add-hidden-to-datastream
Add hidden field to data stream
- Loading branch information
Showing
16 changed files
with
157 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
{ | ||
"id": "custom", | ||
"title": "Custom", | ||
"count": 10 | ||
"count": 11 | ||
}, | ||
{ | ||
"id": "message_queue", | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
{ | ||
"id": "custom", | ||
"title": "Custom", | ||
"count": 10 | ||
"count": 11 | ||
}, | ||
{ | ||
"id": "message_queue", | ||
|
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,42 @@ | ||
{ | ||
"name": "hidden", | ||
"title": "Hidden", | ||
"version": "1.0.0", | ||
"release": "beta", | ||
"description": "This is the hidden integration", | ||
"type": "solution", | ||
"download": "/epr/hidden/hidden-1.0.0.zip", | ||
"path": "/package/hidden/1.0.0", | ||
"format_version": "1.0.0", | ||
"readme": "/package/hidden/1.0.0/docs/README.md", | ||
"license": "basic", | ||
"categories": [ | ||
"custom" | ||
], | ||
"conditions": { | ||
"kibana.version": "\u003e=7.0.0" | ||
}, | ||
"assets": [ | ||
"/package/hidden/1.0.0/manifest.yml", | ||
"/package/hidden/1.0.0/docs/README.md", | ||
"/package/hidden/1.0.0/data_stream/hidden/manifest.yml", | ||
"/package/hidden/1.0.0/data_stream/hidden/fields/base-fields.yml", | ||
"/package/hidden/1.0.0/data_stream/hidden/fields/some_fields.yml" | ||
], | ||
"data_streams": [ | ||
{ | ||
"type": "metrics", | ||
"dataset": "hidden.hidden", | ||
"hidden": true, | ||
"title": "Hidden data stream and ilm policy overrride", | ||
"release": "experimental", | ||
"package": "hidden", | ||
"elasticsearch": { | ||
"index_template.mappings": { | ||
"dynamic": false | ||
} | ||
}, | ||
"path": "hidden" | ||
} | ||
] | ||
} |
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
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
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
16 changes: 16 additions & 0 deletions
16
testdata/package/hidden/1.0.0/data_stream/hidden/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,16 @@ | ||
- 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. | ||
- name: "@timestamp" | ||
type: date | ||
description: > | ||
Event timestamp. |
15 changes: 15 additions & 0 deletions
15
testdata/package/hidden/1.0.0/data_stream/hidden/fields/some_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,15 @@ | ||
|
||
- name: source | ||
title: Source | ||
group: 2 | ||
type: group | ||
fields: | ||
- name: geo.city_name | ||
level: core | ||
type: keyword | ||
description: City name. | ||
ignore_above: 1024 | ||
- name: foobar | ||
type: text | ||
description: A field with a pattern defined | ||
pattern: '^[a-zA-Z]$' |
6 changes: 6 additions & 0 deletions
6
testdata/package/hidden/1.0.0/data_stream/hidden/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,6 @@ | ||
title: Hidden data stream and ilm policy overrride | ||
type: metrics | ||
hidden: true | ||
elasticsearch: | ||
index_template.mappings: | ||
dynamic: false |
Empty file.
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,14 @@ | ||
format_version: 1.0.0 | ||
|
||
name: hidden | ||
description: This is the hidden integration | ||
version: 1.0.0 | ||
title: Hidden | ||
categories: ["custom"] | ||
type: solution | ||
release: beta | ||
|
||
conditions: | ||
kibana: | ||
version: ">=7.0.0" | ||
|
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