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 9519fcd commit f8fdb8aCopy full SHA for f8fdb8a
x-pack/plugins/index_management/server/lib/fetch_indices.ts
@@ -44,7 +44,9 @@ async function fetchIndicesCall(
44
// This call retrieves alias and settings (incl. hidden status) information about indices
45
const indices: GetIndicesResponse = await callAsCurrentUser('transport.request', {
46
method: 'GET',
47
- path: `/${indexNamesString}`,
+ // transport.request doesn't do any URI encoding, unlike other JS client APIs. This enables
48
+ // working with Logstash indices with names like %{[@metadata][beat]}-%{[@metadata][version]}.
49
+ path: `/${encodeURIComponent(indexNamesString)}`,
50
query: {
51
expand_wildcards: 'hidden,all',
52
},
0 commit comments