-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find objects API do not work properly for index patterns #97600
Comments
Pinging @elastic/kibana-core (Team:Core) |
Hi @alah64 Looks like we no longer fetch fields via Get field mapping API |
@alah64 You'll get what you need by using the Index Patterns API - #83576 - using other methods (such as the field mapping API) may produce inconsistent results. |
Thank you for your answer. |
The field caps api might be more appropriate - https://www.elastic.co/guide/en/elasticsearch/reference/current/search-field-caps.html It depends upon if you want the fields from indices or if you want the fields from an index pattern.
If you're writing a plugin, then you can use the |
Closing issue as several months have passed. Feel free to reopen if needed. |
This problem does not exist in version 7.16.2 , also can use index patterns api since version 7.12 |
Kibana version:
7.12.0
Describe the bug:
I need to get the index patterns title and fields. Its worked correctly in kibana 7.10 but now if i create new index pattern then get index patterns i have no fields in result.
Steps to reproduce:
create new index pattern in kibana
use find objects api
result in kibana 7.10
result in kibana 7.12
Expected behavior:
With the implementation of Find objects API, it is also necessary to obtain the fields based on the index pattern and bring them in the fields section.
thanks
The text was updated successfully, but these errors were encountered: