# Read-only Query

**URL:** <https://discuss.elastic.co/t/read-only-query/283040>\
**Category:** Kibana\
**Created:** [September 1, 2021, 12:34pm UTC](https://discuss.elastic.co/t/read-only-query/283040 "2021-09-01T12:34:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![k.schmidtke](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@k.schmidtke](https://discuss.elastic.co/u/k.schmidtke)\
**Post date:** [September 1, 2021, 12:34pm UTC](https://discuss.elastic.co/t/read-only-query/283040/1 "2021-09-01T12:34:38Z")

</div>

I want to have preset Dashboards for Users with fixed querys that cannot be changed.  
Example: I want my Dashboard to query with "header\_from : [company.com](http://company.com)", but it schouldn't be changeable by read-only users

 ![Unbenannt](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7a7279043be964ef4518f6eae1ff98af9e75d2e.png)

Is this possible?

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [September 7, 2021, 11:35am UTC](https://discuss.elastic.co/t/read-only-query/283040/2 "2021-09-07T11:35:55Z")

</div>

Hi there,  
one option that comes to my mind (maybe there are others, I am not sure) would be to add the query directly to the visualizations instead of to the dashboard. So you'd have to open each visualization, type the same query there and save it.  
For example, here's the dashboard with the visualization queried by `Women's Clothing` inside the vis:

 ![Screenshot 2021-09-07 at 13.34.40](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee2bc9cb772248010eedda9644029dbfbadf6fdd.png)

---

<div class="post-metadata">

**Author:** ![k.schmidtke](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@k.schmidtke](https://discuss.elastic.co/u/k.schmidtke)\
**Post date:** [September 9, 2021, 9:54am UTC](https://discuss.elastic.co/t/read-only-query/283040/3 "2021-09-09T09:54:23Z")

</div>

I didn't know you could query in the visualization themselfes.  
Thank you very much, this solved my problem.

---

<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:** [October 7, 2021, 9:54am UTC](https://discuss.elastic.co/t/read-only-query/283040/4 "2021-10-07T09:54:53Z")

</div>

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