in scripts/generators/es_template.py [0:0]
def default_template_settings(ecs_version: str) -> Dict:
return {
"index_patterns": ["try-ecs-*"],
"_meta": {
"ecs_version": ecs_version,
"description": "Sample composable template that includes all ECS fields"
},
"priority": 1, # Very low, as this is a sample template
"template": {
"settings": {
"index": {
"codec": "best_compression",
"mapping": {
"total_fields": {
"limit": 2000
}
}
}
},
}
}