Add component templates for Fleet

This commit is contained in:
Wes
2022-09-20 20:27:26 +00:00
parent 8a537204d6
commit 7f2c5bc757
2 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
"component_templates": [
{
"name": ".fleet_agent_id_verification-1",
"component_template": {
"template": {
"settings": {
"index": {
"final_pipeline": ".fleet_final_pipeline-1"
}
},
"mappings": {
"properties": {
"event": {
"properties": {
"agent_id_status": {
"ignore_above": 1024,
"type": "keyword"
},
"ingested": {
"format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis",
"type": "date"
}
}
}
}
}
},
"_meta": {
"managed_by": "fleet",
"managed": true
}
}
}
]
}

View File

@@ -0,0 +1,34 @@
{
"component_templates": [
{
"name": ".fleet_globals-1",
"component_template": {
"template": {
"settings": {},
"mappings": {
"_meta": {
"managed_by": "fleet",
"managed": true
},
"dynamic_templates": [
{
"strings_as_keyword": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string"
}
}
],
"date_detection": false
}
},
"_meta": {
"managed_by": "fleet",
"managed": true
}
}
}
]
}