# Indices/Field names autocomplete in Kibana console for non-admin users

**URL:** <https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550>\
**Category:** Security\
**Created:** [April 8, 2021, 8:00pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550 "2021-04-08T20:00:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![asfoorial](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@asfoorial](https://forum.opensearch.org/u/asfoorial)\
**Post date:** [April 8, 2021, 8:00pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/1 "2021-04-08T20:00:53Z")

</div>

Good day all,

I would like to know if there is a specific permission I need to grant to users to be able to get autocompletion on field names inside the Kibana console. It works fine if the user has all permissions (such as the admin user). However it does not work for regular users! Autocompletion works in general for regular users but not for fields names and indices names.

Highly appreciate your help.

Regards,  
Hasan

---

<div class="post-metadata">

**Author:** ![igorid70](https://avatars.discourse-cdn.com/v4/letter/i/e480ec/32.png) [@igorid70](https://forum.opensearch.org/u/igorid70)\
**Post date:** [April 10, 2021, 6:36am UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/2 "2021-04-10T06:36:46Z")

</div>

> [@Kibana Autocomplete](https://forum.opensearch.org/t/kibana-autocomplete/1779):
>
> After general research, it appears the Kibana Autocomplete feature was removed from the kibana open source since 6.4,and therefore is not available. I’d just like to point our that the feature is extremely helpful and important in the usage of kibana, and has allowed our clients to use it freely, instead of having to memorize each and every key. Is support for it planned in opendistro? A separate plugin perhaps? Or is it considered unimportant? If that is the case, a stop gap solution would b…

Unfortunately, it seems that nothing happened since then ☹

---

<div class="post-metadata">

**Author:** ![asfoorial](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@asfoorial](https://forum.opensearch.org/u/asfoorial)\
**Post date:** [April 10, 2021, 2:05pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/3 "2021-04-10T14:05:33Z")

</div>

Autocompletion works for the admin user and any user with \* permissioms. But doesn’t for users with less permissions. That is why it seems to me more of a security behaviour in ODFE than a lost feature in OSS Kibana.

---

<div class="post-metadata">

**Author:** ![igorid70](https://avatars.discourse-cdn.com/v4/letter/i/e480ec/32.png) [@igorid70](https://forum.opensearch.org/u/igorid70)\
**Post date:** [April 10, 2021, 2:42pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/4 "2021-04-10T14:42:37Z")

</div>

I am working with v 1.12 and it does not auto-complete for admin nor other user having \* permissions. The same was with v1.10 that I worked before. Can you show a screenshot with autocompletion working? Try to auto-complete a field that you never typed before (the search box does remember the history). See mine in a browser with disabled history/cookies (typing a general host.name field existing in every document in my index and no auto-completion happens)

![test](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/2/2a9c85b88709e2c3abd7b7dedf52a84feca9df73.gif)

---

<div class="post-metadata">

**Author:** ![asfoorial](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@asfoorial](https://forum.opensearch.org/u/asfoorial)\
**Post date:** [April 11, 2021, 9:07pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/5 "2021-04-11T21:07:36Z")

</div>

This is what I am talking about. The version here is 1.13.2. The user at the left is an admin (backend=admin) while the user on the right is a regular one. For the admin I can see autocompletion for indices names and fields names while the user on the right can only get autocompletion for DSL syntax. If I switch the user’s backend to “admin” then autocompletion works! However this is not practical since developers (and even less privileged users) will need autocompletion without the need for admin privileges.

 ![kibana](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/e/ebadba5d3d3742640b3cebb9b063f85b0b6d9500.jpeg)

---

<div class="post-metadata">

**Author:** ![igorid70](https://avatars.discourse-cdn.com/v4/letter/i/e480ec/32.png) [@igorid70](https://forum.opensearch.org/u/igorid70)\
**Post date:** [April 13, 2021, 6:59am UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/6 "2021-04-13T06:59:34Z")

</div>

Now I get why we misunderstood each other. You are talking about ‘Dev tools’ while I was talking about search box. And yes, you are right - a non privileged user does not have autocompletion while admin does. I will try to see what specific permission drives this and update if I find out.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [April 13, 2021, 3:30pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/7 "2021-04-13T15:30:02Z")

</div>

@asfoorial

Did some reverse engineering and found minimum role settings to have autocomplete enabled for indices and fields. You only must add extra permissions to be able get data from index.

Got it working on 1.13.2

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/f/f714436af7b44d1fe7ab7f54bbe0a98762ba6667.png)

---

<div class="post-metadata">

**Author:** ![asfoorial](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@asfoorial](https://forum.opensearch.org/u/asfoorial)\
**Post date:** [April 13, 2021, 10:28pm UTC](https://forum.opensearch.org/t/indices-field-names-autocomplete-in-kibana-console-for-non-admin-users/5550/8 "2021-04-13T22:28:30Z")

</div>

Thanks @pablo it works for me now on both 1.13.2 and 1.9.
