This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update base packages to use new paths (#90)
As discussed in elastic/package-registry#565 the names of the directories should only use `_` and no `-`. This updates the base package to use both directories in parallel.
- Loading branch information
Showing
26 changed files
with
1,299 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Base package | ||
|
||
This is installed in the background by EPM to setup the Elastic Stack. |
163 changes: 163 additions & 0 deletions
163
packages/base/0.3.0/elasticsearch/component-template/events-mappings.json
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,163 @@ | ||
{ | ||
"template": { | ||
"mappings": { | ||
"_meta": { | ||
}, | ||
"dynamic_templates": [ | ||
{ | ||
"strings_as_keyword": { | ||
"mapping": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"match_mapping_type": "string" | ||
} | ||
} | ||
], | ||
"date_detection": false, | ||
"properties": { | ||
"@timestamp": { | ||
"type": "date" | ||
}, | ||
"stream": { | ||
"properties": { | ||
"type": { | ||
"type": "constant_keyword", | ||
"value": "events" | ||
}, | ||
"dataset": { | ||
"type": "constant_keyword" | ||
}, | ||
"namespace": { | ||
"type": "constant_keyword" | ||
} | ||
} | ||
}, | ||
"dataset": { | ||
"properties": { | ||
"type": { | ||
"type": "constant_keyword", | ||
"value": "events" | ||
}, | ||
"name": { | ||
"type": "constant_keyword" | ||
}, | ||
"namespace": { | ||
"type": "constant_keyword" | ||
} | ||
} | ||
}, | ||
"agent": { | ||
"properties": { | ||
"hostname": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"name": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"ephemeral_id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"ecs": { | ||
"properties": { | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"host": { | ||
"properties": { | ||
"hostname": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"os": { | ||
"properties": { | ||
"build": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"kernel": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"codename": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"name": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"family": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"platform": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"full": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"ip": { | ||
"type": "ip" | ||
}, | ||
"containerized": { | ||
"type": "boolean" | ||
}, | ||
"name": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"mac": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"architecture": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"message": { | ||
"type": "text" | ||
} | ||
} | ||
}, | ||
"aliases": {} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
packages/base/0.3.0/elasticsearch/component-template/events-settings.json
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 @@ | ||
{ | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"lifecycle": { | ||
"name": "events-default" | ||
}, | ||
"codec": "best_compression", | ||
"refresh_interval": "5s", | ||
"number_of_shards": "1", | ||
"query": { | ||
"default_field": [ | ||
"message" | ||
] | ||
}, | ||
"number_of_routing_shards": "30" | ||
} | ||
}, | ||
"aliases": {} | ||
} | ||
} |
163 changes: 163 additions & 0 deletions
163
packages/base/0.3.0/elasticsearch/component-template/logs-mappings.json
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,163 @@ | ||
{ | ||
"template": { | ||
"mappings": { | ||
"_meta": { | ||
}, | ||
"dynamic_templates": [ | ||
{ | ||
"strings_as_keyword": { | ||
"mapping": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"match_mapping_type": "string" | ||
} | ||
} | ||
], | ||
"date_detection": false, | ||
"properties": { | ||
"@timestamp": { | ||
"type": "date" | ||
}, | ||
"stream": { | ||
"properties": { | ||
"type": { | ||
"type": "constant_keyword", | ||
"value": "logs" | ||
}, | ||
"dataset": { | ||
"type": "constant_keyword" | ||
}, | ||
"namespace": { | ||
"type": "constant_keyword" | ||
} | ||
} | ||
}, | ||
"dataset": { | ||
"properties": { | ||
"type": { | ||
"type": "constant_keyword", | ||
"value": "events" | ||
}, | ||
"name": { | ||
"type": "constant_keyword" | ||
}, | ||
"namespace": { | ||
"type": "constant_keyword" | ||
} | ||
} | ||
}, | ||
"agent": { | ||
"properties": { | ||
"hostname": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"name": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"ephemeral_id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"ecs": { | ||
"properties": { | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"host": { | ||
"properties": { | ||
"hostname": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"os": { | ||
"properties": { | ||
"build": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"kernel": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"codename": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"name": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"family": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"platform": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"full": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"ip": { | ||
"type": "ip" | ||
}, | ||
"containerized": { | ||
"type": "boolean" | ||
}, | ||
"name": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"mac": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"architecture": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"message": { | ||
"type": "text" | ||
} | ||
} | ||
}, | ||
"aliases": {} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
packages/base/0.3.0/elasticsearch/component-template/logs-settings.json
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 @@ | ||
{ | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"lifecycle": { | ||
"name": "logs-default" | ||
}, | ||
"codec": "best_compression", | ||
"refresh_interval": "5s", | ||
"number_of_shards": "1", | ||
"query": { | ||
"default_field": [ | ||
"message" | ||
] | ||
}, | ||
"number_of_routing_shards": "30" | ||
} | ||
}, | ||
"aliases": {} | ||
} | ||
} |
Oops, something went wrong.