[request query.pattern]: expected value of type [string] but got [undefined]

I cannot seem to create an index pattern. There are over 600 fields and I cannot tell which one Kibana has an issue with. I have Kibana logging to stdout. And I can't get a idea of which field it has an issue with. Any thoughts?

Error fetching fields for index pattern (ID: d1d077f0-1993-11ec-9e40-675739437201)

[request query.pattern]: expected value of type [string] but got [undefined]


Error: [request query.pattern]: expected value of type [string] but got [undefined]
    at http://192.168.45.101:5601/41022/bundles/plugin/data/kibana/data.plugin.js:1:361224
    at async index_patterns_IndexPatternsService.refreshFieldSpecMap (http://192.168.45.101:5601/41022/bundles/plugin/data/kibana/data.plugin.js:1:527636)
    at async index_patterns_IndexPatternsService.getSavedObjectAndInit (http://192.168.45.101:5601/41022/bundles/plugin/data/kibana/data.plugin.js:1:530353)

Hi, which version of Kibana is this?

Have you tried looking in our Github repository to see if this is a known issue?

I have found this related issue, which looks like it was closed for not getting enough feedback: https://github.com/elastic/kibana/issues/102512

bash-4.4$ ./kibana --version

7.13.4

bash-4.4$

root@ip-192-168-45-101:~# curl -XGET -u elastic:changeme https://localhost:9200 -k

{

"name" : "0786e8fd2266",

"cluster_name" : "docker-cluster",

"cluster_uuid" : "l6Sld-zwTASMTwV4nLRhEw",

"version" : {

"number" : "7.13.4",

"build_flavor" : "default",

"build_type" : "docker",

"build_hash" : "c5f60e894ca0c61cdbae4f5a686d9f08bcefc942",

"build_date" : "2021-07-14T18:33:36.673943207Z",

"build_snapshot" : false,

"lucene_version" : "8.8.2",

"minimum_wire_compatibility_version" : "6.8.0",

"minimum_index_compatibility_version" : "6.0.0-beta1"

},

"tagline" : "You Know, for Search"

}

root@ip-192-168-45-101:~#

As mattkime suggested in Github, please open a new issue for this problem. It will help to give the full information, such as the steps to reproduce: it sounds like you are not using the API to generate these index patterns.

I am afraid I don't know the repro steps. We exposed the hidden indexes in the Kibana UI and we found the two auto-generated indexes via GUID and deleted them. And then the problem went away.
If it pops up again, I will be sure to document it.

Glad that things are working now!

Did your 7.13 cluster have Kibana saved objects that were carried over from a previous version?

Nope, it was a fresh install. However, I did populate data from Filebeat first. Then I swung the data connection from Filebeat to connect to logstash. And then logstash would publish to Elasticsearch.

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