from https://github.com/elastic/kibana/issues/167992

the error `_id must be unset or set to [GvMPW29fWPE5Sr2ZAAABivq9G6A] but was [_id] because [.ds-metrics-logstash.monitoring-default-2023.10.04-000001] is in time_series mode`

No `_id` field is sent as part of the request so the error must be internal to the endpoint functionality.

This is preventing the creation of runtime fields against TSDS data views in kibana.

--

Steps to reproduce via kibana - 
1. Install `Kibana Sample Data Logs (TSDB)` sample data
2. run via dev tools console
```
POST /_scripts/painless/_execute
{
  "script": {
    "source": """
      emit(doc['release_date'].value.year < 1972);
    """
  },
  "context": "boolean_field",
  "context_setup": {
    "index": "kibana_sample_data_logstsdb",
    "document": {
      "name": "Dune",
      "author": "Frank Herbert",
      "release_date": "1965-06-01",
      "page_count": 604,
      "@timestamp" : "2023-09-16T20:06:26.264Z",
      "bytes_counter": 79635479,
      "bytes_gauge": 8823,
      "event": {
        "dataset": "sample_web_logs"
       }
    }
  }
}
```
modules/lang-painless/src/main/java/org/elasticsearch/painless/action/PainlessExecuteAction.java
public static final ActionType<Response> INSTANCE = new ActionType<>("cluster:admin/scripts/painless/execute", Response::new);
    private PainlessExecuteAction() {}
    public static class Request extends SingleShardRequest<Request> implements ToXContentObject {
        private static final ParseField SCRIPT_FIELD = new ParseField("script");
        private static final ParseField CONTEXT_FIELD = new ParseField("context");
        private static final ParseField CONTEXT_SETUP_FIELD = new ParseField("context_setup");
        private static final ConstructingObjectParser<Request, Void> PARSER = new ConstructingObjectParser<>(
            "painless_execute_request",
            args -> new Request((Script) args[0], (String) args[1], (ContextSetup) args[2])
        );
        static {
            PARSER.declareObject(ConstructingObjectParser.constructorArg(), (p, c) -> Script.parse(p), SCRIPT_FIELD);
            PARSER.declareString(ConstructingObjectParser.optionalConstructorArg(), CONTEXT_FIELD);
            PARSER.declareObject(ConstructingObjectParser.optionalConstructorArg(), ContextSetup::parse, CONTEXT_SETUP_FIELD);
        }
        private static Map<String, ScriptContext<?>> getSupportedContexts() {