Open lukasolson opened 6 days ago
Describe the bug:
When using an index filter, the "Index Pattern" that shows up in the inspector is not always accurate.
Steps to reproduce:
_index
_index: logs-2024-06-27
Expected behavior:
It would show the "Index Pattern" as logs-2024-06-27. Instead, it shows logs-.
logs-2024-06-27
logs-
Screenshots (if relevant):
Any additional context:
Related: https://github.com/elastic/kibana/pull/136407
I believe this regex needs to be adjusted:
https://github.com/elastic/kibana/blob/6b778cb071fa8b0555f51bc7aa721e1947474b07/src/plugins/data/common/search/search_source/search_source.ts#L1211-L1230
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Describe the bug:
When using an index filter, the "Index Pattern" that shows up in the inspector is not always accurate.
Steps to reproduce:
_index
without using wildcards (e.g._index: logs-2024-06-27
)Expected behavior:
It would show the "Index Pattern" as
logs-2024-06-27
. Instead, it showslogs-
.Screenshots (if relevant):
Any additional context:
Related: https://github.com/elastic/kibana/pull/136407
I believe this regex needs to be adjusted:
https://github.com/elastic/kibana/blob/6b778cb071fa8b0555f51bc7aa721e1947474b07/src/plugins/data/common/search/search_source/search_source.ts#L1211-L1230