Skip to content

Data stream mappings dry run fails for integration time_series data streams #137381

@flash1293

Description

@flash1293

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": {}
      }
    }
  ]
}

Metadata

Metadata

Assignees

Labels

:Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.Team:Data Management (obsolete)DO NOT USE. This team no longer exists.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions