Hi All,
I am trying to construct a deterministic discover URL but index patterns are mapped to UUIDs and the discover URL uses this ID in the URL. Eg:
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:SOME_UUID,....
I did notice though, that for index patterns without a '*', I can replace the UUID with the pattern and the URL works, eg:
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:SOME_PATTERN_WITHOUT_A_STAR
However, for patterns with a star in them, this throws an invalid URL:
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:PATTERN*,....
If I wrap the pattern between single quotes, the URL is valid but it complains that no such pattern ID exists, eg:
http://kibana.url.domain:9000/app/kibana#/discover?...&_a=(columns:!(_source),index:'PATTERN*',....
What is the trick that I am missing?
P.S.: I think one way to work around this is to create an alias in elasticsearch. However, I was wondering if there is a more direct way that involves only Kibana without me having to create an alias.
Cheers,