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

**URL:** https://discuss.elastic.co/t/is-it-possible-to-dynamically-generate-dashboard-urls-with-different-search-filters-per-user/168284
**Category:** Kibana
**Created:** [February 13, 2019, 8:21pm UTC](https://discuss.elastic.co/t/is-it-possible-to-dynamically-generate-dashboard-urls-with-different-search-filters-per-user/168284 "2019-02-13T20:21:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![james\_saby](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@james\_saby](https://discuss.elastic.co/u/james_saby)
#### Post date: [February 13, 2019, 8:21pm UTC](https://discuss.elastic.co/t/is-it-possible-to-dynamically-generate-dashboard-urls-with-different-search-filters-per-user/168284/1 "2019-02-13T20:21:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [February 18, 2019, 8:19pm UTC](https://discuss.elastic.co/t/is-it-possible-to-dynamically-generate-dashboard-urls-with-different-search-filters-per-user/168284/2 "2019-02-18T20:19:19Z")

</div>

Hello,

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

> [@james\_saby](#):
>
> 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.

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

> **[Introducing Kibana Spaces for Organization and Security](https://www.elastic.co/blog/introducing-kibana-spaces-for-organization-and-security)**
>
> New in 6.5, organize your dashboards, visualizations, and other saved objects with Kibana Spaces.

Combination of spaces and roles should definitely help.

> **[Defining roles | Elastic Stack Overview \[7.4\] | Elastic](https://www.elastic.co/guide/en/elastic-stack-overview/current/defining-roles.html)**

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 18, 2019, 8:19pm UTC](https://discuss.elastic.co/t/is-it-possible-to-dynamically-generate-dashboard-urls-with-different-search-filters-per-user/168284/3 "2019-03-18T20:19:24Z")

</div>

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