We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae093e5 commit 2eb8dacCopy full SHA for 2eb8dac
x-pack/plugins/index_management/server/lib/fetch_indices.ts
@@ -45,7 +45,9 @@ async function fetchIndicesCall(
45
// This call retrieves alias and settings (incl. hidden status) information about indices
46
const indices: GetIndicesResponse = await callAsCurrentUser('transport.request', {
47
method: 'GET',
48
- path: `/${indexNamesString}`,
+ // transport.request doesn't do any URI encoding, unlike other JS client APIs. This enables
49
+ // working with Logstash indices with names like %{[@metadata][beat]}-%{[@metadata][version]}.
50
+ path: `/${encodeURIComponent(indexNamesString)}`,
51
query: {
52
expand_wildcards: 'hidden,all',
53
},
0 commit comments