I can only reproduce this with integration-managed streams, I didn't understand where their routing path comes from:
- Install assets of the
system integration package
- Create data stream:
PUT _data_stream/metrics-system.memory-yyy
- Do a dry run of the _mappings api:
PUT _data_stream/metrics-system.memory-yyy/_mappings?dry_run=true
{ }
fails with:
{
"data_streams": [
{
"name": "metrics-system.memory-yyy",
"applied_to_data_stream": false,
"error": "[index.mode=time_series] requires a non-empty [index.routing_path]",
"mappings": {
"_doc": {}
},
"effective_mappings": {
"_doc": {}
}
}
]
}
I can only reproduce this with integration-managed streams, I didn't understand where their routing path comes from:
systemintegration packagePUT _data_stream/metrics-system.memory-yyyfails with: