# Permanent filter

**URL:** https://discuss.elastic.co/t/permanent-filter/330370
**Category:** Kibana
**Created:** [April 20, 2023, 9:12am UTC](https://discuss.elastic.co/t/permanent-filter/330370 "2023-04-20T09:12:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Joel\_Goncalves2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves2/32/118191_2.png) [@Joel\_Goncalves2](https://discuss.elastic.co/u/Joel_Goncalves2)
#### Post date: [April 20, 2023, 9:12am UTC](https://discuss.elastic.co/t/permanent-filter/330370/1 "2023-04-20T09:12:54Z")

</div>

Is there a way to make a "permanent filter" or make a filter non-removable?

The reason for this is, I want the user to only see data relevant to their company. If they simply removed the filter, they would be able to view data from other companies.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 20, 2023, 11:32pm UTC](https://discuss.elastic.co/t/permanent-filter/330370/2 "2023-04-20T23:32:04Z")

</div>

If all the data is in the same index, which it seems to be, then you could look at setting up a Security role per company that filters down based on whatever field + value pair you have.

---

<div class="post-metadata">

### Author: ![Joel\_Goncalves2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves2/32/118191_2.png) [@Joel\_Goncalves2](https://discuss.elastic.co/u/Joel_Goncalves2)
#### Post date: [April 21, 2023, 9:20am UTC](https://discuss.elastic.co/t/permanent-filter/330370/3 "2023-04-21T09:20:29Z")

</div>

Do you have documentation about that ?

---

<div class="post-metadata">

### Author: ![Joel\_Goncalves2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joel_goncalves2/32/118191_2.png) [@Joel\_Goncalves2](https://discuss.elastic.co/u/Joel_Goncalves2)
#### Post date: [April 21, 2023, 1:08pm UTC](https://discuss.elastic.co/t/permanent-filter/330370/4 "2023-04-21T13:08:53Z")

</div>

The data I'm trying to filter is from packetbeat. Is there any way to filter or send each client's information to a specific index?

---

<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: [May 19, 2023, 1:09pm UTC](https://discuss.elastic.co/t/permanent-filter/330370/5 "2023-05-19T13:09:22Z")

</div>

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