I created a space called 'dev' and then created objects like index-pattern, visualization and dashboards etc .. And then a role with read permission to that space and read access to the related indexes. Created a user 'dev-user' under that role.
But now when I login as admin [navigate to the dev space], I am able to view the the logs in Logs UI.
But when login as dev-user [navigate to the dev space], I am only seeing message " Looks like you don't have any metrics indices.". Even though I am able to view the dashboards without problem with all visualizations.
How can I provide dev-user access to view the logs in Logs-UI ?.
Users will need to read access to the indices listed in xpack.infra.sources.default.metricAlias and xpack.infra.sources.default.logAlias. If you need to use different index patterns per space, you can set these values using the settings UI for both the Infrastructure UI and Logs UI. Whatever these values are set to, the user will need read access to the matching indices.
But with the manage access and having the dev tools option available, the developer is also able to drop or modify the index. Hope we should be able to achieve it with only read permission in future.
Hm, that is true. You could check whether the view_index_metadata permission is sufficient, because the Logs UI doesn't really need write access to the aliases.
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.