Kuery cannot be turned on (The _source field is not searchable)

When I turn on Kibana's Kuery feature (https://www.elastic.co/guide/en/kibana/6.5/kuery-query.html) it gives me this error:

Discover: The _source field is not searchable The _source field is not searchable The _source field is not searchable The _source field is not searchable The _source field is not searchable

Less Info
OK
Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"gtrdXxqnSFy89HbEKKfg7Q","index":"log-2020-05-24"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"YiM-cyDhQrqVpr8OXmORFA","index":"log-2020-05-25"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"eLAUOjOZTnmVD2RrA-F9mg","index":"log-2020-05-26"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"T17V9I-mRlavpR87Ync4eQ","index":"log-2020-05-27"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"XCJot2guTouyuy-iDYhbQw","index":"log-2020-05-28"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"log-2020-05-24","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"gtrdXxqnSFy89HbEKKfg7Q","index":"log-2020-05-24"}},{"shard":0,"index":"log-2020-05-25","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"YiM-cyDhQrqVpr8OXmORFA","index":"log-2020-05-25"}},{"shard":0,"index":"log-2020-05-26","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"eLAUOjOZTnmVD2RrA-F9mg","index":"log-2020-05-26"}},{"shard":0,"index":"log-2020-05-27","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"T17V9I-mRlavpR87Ync4eQ","index":"log-2020-05-27"}},{"shard":0,"index":"log-2020-05-28","node":"GGfuU2fXTQa6RcWPVmVNeQ","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"XCJot2guTouyuy-iDYhbQw","index":"log-2020-05-28"}}]},"status":400}
    at http://kibana.com/bundles/commons.bundle.js:3:1198341
    at Function.Promise.try (http://kibana.com/bundles/commons.bundle.js:3:892390)
    at http://kibana.com/bundles/commons.bundle.js:3:891761
    at Array.map (<anonymous>)
    at Function.Promise.map (http://kibana.com/bundles/commons.bundle.js:3:891719)
    at callResponseHandlers (http://kibana.com/bundles/commons.bundle.js:3:1197633)
    at http://kibana.com/bundles/commons.bundle.js:3:1181366
    at processQueue (http://kibana.com/bundles/vendors.bundle.js:277:199684)
    at http://kibana.com/bundles/vendors.bundle.js:277:200647
    at Scope.$digest (http://kibana.com/bundles/vendors.bundle.js:277:210409)
    at http://kibana.com/bundles/vendors.bundle.js:277:212941
    at completeOutstandingRequest (http://kibana.com/bundles/vendors.bundle.js:277:64424)
    at http://kibana.com/bundles/vendors.bundle.js:277:67265

There is not conflict in my index pattern, also my _source field is set to (default):

        {
          "name": "_source",
          "type": "_source",
          "count": 0,
          "scripted": false,
          "searchable": false,
          "aggregatable": false,
          "readFromDocValues": false
        }

Changing it to:

        {
          "name": "_source",
          "type": "_source",
          "count": 0,
          "scripted": false,
          "searchable": true,
          "aggregatable": true,
          "readFromDocValues": false
        }

fixes nothing.

I restarted Kibana and it was fixed.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.