Kibana maps does not show index pattern

Hello, I was testing maps feature and got problem.

Symptom:
Kibana Maps > add layers > documents
It does not show any index pattern, although I have kibana sample data with index pattern which has geo_point.


How I created the issue:
I added kibana_sample_data_flights demo data and deleted index pattern.
I firstly made more than 10 index with same name of index pattern.
I created kibana_sample* index pattern.

I assume that the api is only getting top 10 of the list and figures out if they have geo_point field.
How can I fix this issue? Is there any way that I can change the option of API?

Thank you in advance!

Query from maps:
https://i-o-optimized-deployment-ca64ef.kb.us-west1.gcp.cloud.es.io:9243/api/saved_objects/_find?fields=title&per_page=10&search=*&search_fields=title&type=index-pattern

Result:
{"page":1,"per_page":10,"total":17,"saved_objects":[{"type":"index-pattern","id":"ab551920-96b5-11eb-b1da-170544712954","attributes":{"title":"a"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:54:17.279Z","version":"WzcyLDFd","namespaces":["default"],"score":1},{"type":"index-pattern","id":"b5d16ca0-96b5-11eb-b1da-170544712954","attributes":{"title":"aa"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:54:34.868Z","version":"WzgwLDFd","namespaces":["default"],"score":1},{"type":"index-pattern","id":"be7ecc80-96b5-11eb-b1da-170544712954","attributes":{"title":"aaa"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:54:49.428Z","version":"Wzg4LDFd","namespaces":["default"],"score":1},{"type":"index-pattern","id":"c4d236d0-96b5-11eb-b1da-170544712954","attributes":{"title":"b"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:55:00.044Z","version":"WzEwMywxXQ==","namespaces":["default"],"score":1},{"type":"index-pattern","id":"d880f8b0-96b5-11eb-b1da-170544712954","attributes":{"title":"aaaa"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:55:33.059Z","version":"WzEyNCwxXQ==","namespaces":["default"],"score":1},{"type":"index-pattern","id":"e065ff80-96b5-11eb-b1da-170544712954","attributes":{"title":"aaaaa"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:55:46.316Z","version":"WzEzMiwxXQ==","namespaces":["default"],"score":1},{"type":"index-pattern","id":"ee982f10-96b5-11eb-b1da-170544712954","attributes":{"title":"c"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:56:10.128Z","version":"WzE0OCwxXQ==","namespaces":["default"],"score":1},{"type":"index-pattern","id":"e7a63ad0-96b5-11eb-b1da-170544712954","attributes":{"title":"aaaaaa"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:55:58.516Z","version":"WzE0MCwxXQ==","namespaces":["default"],"score":1},{"type":"index-pattern","id":"f44631a0-96b5-11eb-b1da-170544712954","attributes":{"title":"d"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:56:19.657Z","version":"WzE1NiwxXQ==","namespaces":["default"],"score":1},{"type":"index-pattern","id":"01623640-96b6-11eb-b1da-170544712954","attributes":{"title":"e"},"references":,"migrationVersion":{"index-pattern":"7.11.0"},"coreMigrationVersion":"7.12.0","updated_at":"2021-04-06T08:56:41.647Z","version":"WzE2OCwxXQ==","namespaces":["default"],"score":1}]}

I also checked the API related to this issue with 7.9.x, 7.10.2, and found that per_page is 100, different from version 7.12.0.
http://1.xxxx.xx.xxx:xxxx/api/saved_objects/_find?fields=title&fields=fields&per_page=100&search=*&search_fields=title&type=index-pattern

Hi @jungsoo,

This sounds like a bug. I may have found a similar bug reported here: [Geo Alerting] - Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert. · Issue #95418 · elastic/kibana · GitHub. If that is the case, feel free to add your use case as a comment.

If the issue isn't the same, please open a new bug report here: https://github.com/elastic/kibana/issues/new/choose. :pray:

1 Like

@jungsoo This is a regression in 7.12.0. The regression will be fixed in 7.12.1 release, [Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert by nreese · Pull Request #96633 · elastic/kibana · GitHub

3 Likes

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