BAD request after deleting an index pattern and recreating it

Hi all,

Continuing the discussion from Kibana shows blank sites in Discover, Management, ... after deleting/creation of default index pattern:

I had an index-pattern logstash-2017* which I deleted, then I recreated it with

PUT .kibana/index-pattern/logstash-2017*
{"title" : "logstash-2017*", "timeFieldName": "@timestamp"}

now I see it in the list of index-patterns but when I try to select it, it doesnt do anything.

If I try and select it in the Management tools Index PAtterns, I get a bad request error.

Any help is appreciated.

this is the error I get

Error: Request to Elasticsearch failed: "Bad Request"
at https://localhost:8443/bundles/kibana.bundle.js?v=15104:236:16982
at processQueue (https://localhost:8443/bundles/commons.bundle.js?v=15104:38:23621)
at https://localhost:8443/bundles/commons.bundle.js?v=15104:38:23888
at Scope.$eval (https://localhost:8443/bundles/commons.bundle.js?v=15104:39:4619)
at Scope.$digest (https://localhost:8443/bundles/commons.bundle.js?v=15104:39:2359)
at Scope.$apply (https://localhost:8443/bundles/commons.bundle.js?v=15104:39:5037)
at done (https://localhost:8443/bundles/commons.bundle.js?v=15104:37:25027)
at completeRequest (https://localhost:8443/bundles/commons.bundle.js?v=15104:37:28702)
at XMLHttpRequest.xhr.onload (https://localhost:8443/bundles/commons.bundle.js?v=15104:37:29634)

What is the reason for creating the index pattern in Elasticsearch directly?

Can you try to click the "Refresh field list" button on the index pattern page to see if that resolves the issue?

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