Skip to content

Enabling TSDB and disabling source gives a funny error message #96445

@nik9000

Description

@nik9000

Elasticsearch Version

8.7.0

Installed Plugins

No response

Java Version

bundled

OS Version

whatever

Problem Description

Enable TSDB and disable source.

Steps to Reproduce

curl -uelastic:password -HContent-Type:application/json -XPUT localhost:9200/test?pretty -d'{ "settings": { "mode": "time_series", "routing_path": "foo" }, "mappings": { "_source": { "enabled": false } } }' 

The error message you get is Cannot set both [mode] and [enabled] parameters but we never tried to set mode. I think maybe we want time series indices only support synthetic source like we give if you try to disable _source in tsdb.

Logs (if relevant)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions