we are currently upgrading our elk stack from 2.X to 5.X and are working with the 5.3.1 versions.
An example role is defined like this in roley.yml
examplerole:
cluster:
- monitor
indices:
- names: 'extint-*'
privileges:
- view_index_metadata
- read
If i now try to access an index which the user is not permitted to see (e.g. extint_res-) with GET .../extint_res- and the user credentials i get an empty JSON response:
{}
Users which do have the extint_res index in the permissions see the full response.
In prior versions, i got an "404 Not Found" error accessing the index. Is this intended? Or did we miss something in the config?
This is the result of a feature that was added and highly requested; we tried to make the responses more consistent with elasticsearch (without x-pack) especially when expanding wildcards and handling indices that do not exist.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.