2014-01-20 03:23:00 -05:00
|
|
|
[[cat-alias]]
|
2014-05-16 15:43:35 -04:00
|
|
|
== cat aliases
|
2014-01-20 03:23:00 -05:00
|
|
|
|
|
|
|
`aliases` shows information about currently configured aliases to indices
|
|
|
|
including filter and routing infos.
|
|
|
|
|
2015-07-14 12:14:09 -04:00
|
|
|
[source,sh]
|
2014-01-20 03:23:00 -05:00
|
|
|
--------------------------------------------------
|
|
|
|
% curl '192.168.56.10:9200/_cat/aliases?v'
|
|
|
|
alias index filter indexRouting searchRouting
|
|
|
|
alias2 test1 * - -
|
|
|
|
alias4 test1 - 2 1,2
|
|
|
|
alias1 test1 - - -
|
|
|
|
alias3 test1 - 1 1
|
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
The output shows that `alias` has configured a filter, and specific routing
|
2014-05-16 15:43:35 -04:00
|
|
|
configurations in `alias3` and `alias4`.
|
2014-01-20 03:23:00 -05:00
|
|
|
|
|
|
|
If you only want to get information about a single alias, you can specify
|
|
|
|
the alias in the URL, for example `/_cat/aliases/alias1`.
|
|
|
|
|