Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to hide fields within Kibana #17270

Closed
blfrantz opened this issue Mar 20, 2018 · 14 comments
Closed

Option to hide fields within Kibana #17270

blfrantz opened this issue Mar 20, 2018 · 14 comments
Labels
enhancement New value added to drive a business result Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort

Comments

@blfrantz
Copy link
Contributor

Kibana version: 6.2.2

Describe the feature:
In Kibana, new fields don't appear in Discover, etc. until the field list for a particular Index Pattern is refreshed. This suggests that it's possible for a field to exist in the ES index/mapping, but not appear in Kibana. I'd like to take advantage of this fact to be able to "hide" certain fields from the Kibana interface without modifying the underlying ES mapping or objects. This is primarily to tailor the Kibana interface to remove fields that aren't relevant to my target audience. I would want this to remove the field from both the object detail view in Discover as well as the list of fields wherever those appear in the UI. Ideally it'd also remove it from the fields being searched (since it'd be confusing to get matches on a field you can't see), but I don't consider this a requirement if it's difficult... perhaps a "show hidden" toggle could be provided in Discover to make it possible to see these "hidden" matches.

I can envision this being a "hidden" toggle alongside the "format" setting when editing a field in the Index Pattern interface. Ideally not just a "remove" option since presumably that'd get wiped out whenever the list is refreshed again.

For a bit more context, we have multiple indexes in our ES cluster which are relevant to different groups of users. To make things simple for our users, I like to spin up different Kibana instances with their own .kibana-* indexes which I then configure for each type of user. This also provides easy partitioning of Saved Objects to keep that list organized. This request takes that a step further by giving me the ability to configure what fields these users see, since in many cases a lot of the fields are only useful for "internal" or troubleshooting purposes (including the _* fields, but not limited to those).

@chrisronline
Copy link
Contributor

Have you seen the Source filters option inside the index pattern page? That should hide fields from other areas of Kibana

@trevan
Copy link
Contributor

trevan commented Mar 20, 2018

@chrisronline, that just hides them from the Discover view. It doesn't hide them from the list in visualization.

@chrisronline
Copy link
Contributor

@trevan Ah, okay. In that case, this request makes sense and sounds like a good idea!

@blfrantz
Copy link
Contributor Author

blfrantz commented Mar 20, 2018

@chrisronline Thanks! I was not aware that's what that tab was for. It does partially address my request, though as @trevan points out, not entirely. In addition to not applying to field drop-downs in Visualize or the Add a filter dialog, it also doesn't seem to work for the _* built-in fields (which I guess makes sense for _source, but not the others).

For my purposes it is still helpful, though, so thanks for the heads-up. And since it supports wildcards, I think I prefer this way of configuring the setting to what I suggested. So maybe this request is really to just make source filters apply to field drop-downs and built-in _* fields. It also might be a good idea to rename the tab to field filters or something to make it a bit more obvious what it does.

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :Management DO NOT USE labels Nov 27, 2018
@biji-padhy
Copy link

Hi guys,

I have created a restricted user role that grants access to all other fields except few mentioned fields. It hides the fields from the discover tab, however this field is available in all dashboards and visualizations. How can we restrict the user to view the fields in visualizations as well?

@ghost
Copy link

ghost commented Jul 10, 2019

Hi, I have a similar requirement to hider certain fields , based on user role, from all dashboards and visualizations. How do I achieve this?

@Ranakel
Copy link

Ranakel commented Oct 18, 2019

+1

3 similar comments
@RonnieDilli
Copy link

+1

@salonibhogale
Copy link

+1

@StephyJacob
Copy link

+1

@timroes timroes added enhancement New value added to drive a business result Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:AppArch and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@davebarda
Copy link

+1

@gimmic
Copy link

gimmic commented Oct 7, 2020

user-specific field cosmetic hiding would be useful for analysts.

@mattkime
Copy link
Contributor

mattkime commented May 27, 2021

Quite a bit has changed since this issue was created.

To make things simple for our users, I like to spin up different Kibana instances with their own .kibana-* indexes which I then configure for each type of user.

We now have Spaces - https://www.elastic.co/guide/en/kibana/master/xpack-spaces.html which allow you to do this within a single instance of kibana.

Additionally, since we removed the field cache in 7.11 - #82223, you can now use field level security to determine which fields a user sees - https://www.elastic.co/guide/en/elasticsearch/reference/current/field-level-security.html


Given those two significant changes, is there still a reason to keep this issue open?

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jun 21, 2021
@mattkime mattkime closed this as completed Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort
Projects
None yet
Development

No branches or pull requests