Is it possible to dynamically generate dashboard urls with different search filters per user?

(JAMES SABY) #1

Hi Guys,

I have to present end-users with dashboards only displaying logs from their respective jobs. Say User 1 submits a job 1 request, can I generate a dashboard url dynamically with search filters job_id == 1 (job_id is unique) ? I have parsed job_id and its a field in elastic search json.
The goal is to prevent the end-users (other than admins) to change filters or see other logs and only let them view logs corresponding to their job request.

Thanks in advance.

(Bhavya R M) #2

Hello,

I don't think you can do this without using access controls.

If you look at spaces which got released in 6.4 that should definitely help:

Combination of spaces and roles should definitely help.
https://www.elastic.co/guide/en/elastic-stack-overview/current/defining-roles.html

Thanks,
Bhavya

(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.