You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature:
With the merge of #108252, in the Agent details view the logs will always show There are no logs messages to display even in the case that the user actually has logs but they just don’t have the required privileges to read them.
We want to give the user a better indication of the problem. The proposed mock up is the following, it should explain the actual reason for the absence of logs when user doesn't have the privileges. It should also hide inactive filter controls.
In order to do this change, some further investigation is needed to detect the user privileges, and for this reason this enhancement will probably be shipped after 8.1.
The text was updated successfully, but these errors were encountered:
@mostlyjason@joshdover we discussed to replace Try adjusting your filter with Try adjusting your filter or checking your index privileges for 8.1, but the string for this subtext is in the infra plugin.
I could open a PR there or I could try to make a change in Fleet, but both of them would be a workaround until we determine the right privilege for the user. What do you suggest in this case?
criamico
changed the title
Missing privileges in agent logs (enhancement)
Missing privileges in agent logs (Superuser removal enhancement)
Feb 3, 2022
I think it's ok if we work on the actual enhancement we want to do in 8.2 as a small task and don't mess with changing the copy since it's not Fleet-specific right now.
We can reduce confusion here with documentation around how to configure these roles (add read index privileges for logs-elastic_agent.*)
Describe the feature:
With the merge of #108252, in the Agent details view the logs will always show
There are no logs messages to display
even in the case that the user actually has logs but they just don’t have the required privileges to read them.We want to give the user a better indication of the problem. The proposed mock up is the following, it should explain the actual reason for the absence of logs when user doesn't have the privileges. It should also hide inactive filter controls.
Agent logs component
In order to do this change, some further investigation is needed to detect the user privileges, and for this reason this enhancement will probably be shipped after 8.1.
The text was updated successfully, but these errors were encountered: