-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Data View does not pass configured expand_wildcards
value to Elasticsearch when querying field caps
#122899
Comments
I found this via a bug report from @bytebilly, and tracked it down using a custom build of ES that logs all requests, including their paths & parameters. Happy to help track this down from the ES side if that would be useful. |
Pinging @elastic/app-search-frontend (Team:AppSearch) |
Pinging @elastic/kibana-app-services (Team:AppServicesSv) |
Sure, HARs attached - I did one for each of the repro cases I put in the ticket. If there's a race condition I've been super lucky, as it's quite reliable for me. HARs taken on Kibana git hash |
@gwbrown I'm pretty sure the problem you're seeing is specific to |
Kibana version: 8.0 branch, git hash
4a711e2914907627ff2785d94c1c9191f06db3c0
Elasticsearch version: 8.0 branch, git hash
8d4512f1ebf44521a49f52633f3a1d91e51ad363
Server OS version: MacOS 11.6
Browser version: Firefox 95.0.1
Browser OS version: MacOS 11.6
Original install method (e.g. download page, yum, from source, etc.): Source
Describe the bug: When a data view is created with "Allow hidden and system indices" checked, it correctly uses
expand_wildcards=all
to query the list of indices on the Data View creation page, but not when that Data View is used in discover, and specifically in a_field_caps
call.Steps to reproduce:
*
into theName
field.Timestamp field
spin forever, because it doesn't get the response it expects from the_field_caps
API because it didn't include the parameterexpand_wildcards=all
in the request.Alternatively:
.*
in theName
field.@timestamp
as the timestamp field.Name
field to*
.expand_wildcards=all
.Expected behavior: The Discover view should be populated with documents from the system indices on the system (such as
.kibana
)Errors in browser console (if relevant):
Provide logs and/or server output (if relevant): Kibana offers to show the error:
Any additional context: I checked this by hand, and if I copy the requests with no changes except adding
expand_wildcards=all
, the requests appear to return the values you'd expect.The text was updated successfully, but these errors were encountered: