Open
Description
Describe the bug:
When using an index filter, the "Index Pattern" that shows up in the inspector is not always accurate.
Steps to reproduce:
- Open Discover
- In the KQL bar, filter for a specific
_index
without using wildcards (e.g._index: logs-2024-06-27
) - Open the Inspect panel
Expected behavior:
It would show the "Index Pattern" as logs-2024-06-27
. Instead, it shows logs-
.
Screenshots (if relevant):
Any additional context:
Related: #136407
I believe this regex needs to be adjusted:
kibana/src/plugins/data/common/search/search_source/search_source.ts
Lines 1211 to 1230 in 6b778cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Inspector infrastructure and implementationsQuerying infrastructure in KibanaDiscover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)Fixes for quality problems that affect the customer experienceAddressing this issue will have a low level of impact on the quality/strength of our product.Small Level of Effort