Hi,I'd like to set the _size field on a data stream associated with an integration. How can I do this? The data stream has a custom index template associated with it:
GET _index_template/logs-thales_udp.log-custom
{ "index_templates": [ { "name": "logs-thales_udp.log-custom", "index_template": { "index_patterns": [ "logs-thales_udp.log-*" ], "template": { "settings": { "index": { "lifecycle": { "name": "thales-ilmpolicy-custom" } } }, "mappings": { "_meta": { "package": { "name": "udp" }, "managed_by": "fleet", "managed": false } } }, "composed_of": [ "logs@mappings", "logs@settings", "logs-thales_udp.log@package", "logs@custom", "logs-thales_udp.log@custom", "ecs@mappings", ".fleet_globals-1", ".fleet_agent_id_verification-1" ], "priority": 501, "_meta": { "package": { "name": "udp" }, "managed_by": "fleet", "managed": false }, "data_stream": { "hidden": false, "allow_custom_routing": false }, "ignore_missing_component_templates": [ "logs@custom", "logs-thales_udp.log@custom" ] } } ]}
I installed the mapper_size plugin
If I try to set the _size field with:
PUT _index_template/logs-thales_udp.log-custom{ "mappings": { "_size": { "enabled": true } }}
I get an error:
{ "error": { "root_cause": [ { "type": "x_content_parse_exception", "reason": "[2:3] [index_template] unknown field [mappings]" } ], "type": "x_content_parse_exception", "reason": "[2:3] [index_template] unknown field [mappings]" }, "status": 400}

