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

defaultColumns per data view #17726

Closed
Tracked by #170754
dalenewman opened this issue Apr 16, 2018 · 15 comments
Closed
Tracked by #170754

defaultColumns per data view #17726

dalenewman opened this issue Apr 16, 2018 · 15 comments
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@dalenewman
Copy link

Describe the feature: Currently the defaultColumns in Advanced Settings seems to only accept a comma delimited list of column names (e.g. col1,col2,etc). If you have one index pattern or a lot of common fields between your index patterns, this works out okay.

However, if you have two totally different index patterns, a set of defaultColumns is usually only useful for one index pattern and not the other. It might be nice to have a defaultColumns setting for a each index pattern. Perhaps something like this:

[
   { "indexPattern":"_all", "defaultColumns":"commonColumn1" },
   { "indexPattern":"index1", "defaultColumns":"column1,column2,etc"},
   { "indexPattern":"index2", "defaultColumns":"col1,col2,etc"},
]

or

[
   { "indexPattern":"_all", "defaultColumns": ["commonColumn1"] },
   { "indexPattern":"index1", "defaultColumns": ["column1","column2", "etc"]},
   { "indexPattern":"index2", "defaultColumns": ["col1","col2","etc"]}
]

In my case, I loaded a helpdesk ticket index, and also a job application tracking activity index, and they have very few column names in common. So, a set of defaultColumns works great for one index pattern, but just confuses people using the other. A work-around for me is to transform the names of the columns into something common. So, it's not a must-have feature, but would save me some work and offer more flexibility in general.

@michalterbert
Copy link

guys, any update, plans?

@bmcconaghy
Copy link
Contributor

@michalterbert sorry for the delay in response. This is a reasonable feature request and is something we would like to implement. We are pretty swamped at the moment, so it will likely be a bit before we can get to this.

@dalenewman
Copy link
Author

Thinking about it...

It might be better to have this setting on the index patterns (edit) page. Perhaps a field level setting to indicate that it should show up on the discover page by default. This may be more user-friendly.

@spalger spalger removed the v6.6.0 label Aug 14, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages and removed :Management DO NOT USE labels Nov 27, 2018
@tvlieg
Copy link

tvlieg commented Nov 4, 2021

Is this still considered? We would like to use this feature as well.

@flash1293 flash1293 added Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@timroes timroes added the Feature:Discover Discover Application label Nov 19, 2021
@kertal
Copy link
Member

kertal commented Nov 22, 2021

I can see the use case and this would definitely be helpful, It could be an addon to Kibana data views management. However, since this would be only used in Discover, it wonder if a solution like remembering the last columns that were used when selecting a data view (they are no longer called index pattern) in the users localStorage could also be useful?

@ghudgins
Copy link
Contributor

ghudgins commented Jan 4, 2022

+1 I know of one user who wants it at the Data View level because they want to simplify Discover for their end users (they have a lot of fields from beats). I think localstorage would be useful as well (as soon as any users makes changes to the display...remember them)

@kertal
Copy link
Member

kertal commented Jan 5, 2022

@ghudgins do you think there's a use case beyond Discover?

@ghudgins
Copy link
Contributor

ghudgins commented Jan 5, 2022

right now i'm struggling to think of one outside of Discover that doesn't muddy the waters with data view (index pattern) field popularity. maybe @shaunmcgough or the original poster has thoughts?

Even if it's only a Discover setting I think there's some nice upshot of moving this into the data view level though...

  • smarter defaults in ECS
  • admins can customize the experience for their users

@shaunmcgough
Copy link

shaunmcgough commented Jan 20, 2022

This is sort of like the feature in Timeline where you can setup templates for each data view, and each template can have certain fields that show up. In Timeline you can view multiple data views at once, so these are displayed at the same time. In the screenshot attached, you can see an example of how these fields show up. I believe a solution like this would solve the need. It's basically per data view.

image

@kertal
Copy link
Member

kertal commented Jan 24, 2022

@shaunmcgough how does the management for these fields / data view look like?

@shaunmcgough
Copy link

It's done through a process called 'event rendering' and there is a tool kit in Security for this. More info can be found here. It's very nice, and we can learn a few things here.

@VijayDoshi VijayDoshi changed the title defaultColumns per index pattern defaultColumns per data view May 4, 2022
@VijayDoshi
Copy link

@kertal let's bring this into the next planning session.

@kertal
Copy link
Member

kertal commented May 5, 2022

added it to our next week agenda, because I think we should talk about this before to clarify

@davismcphee davismcphee added enhancement New value added to drive a business result loe:needs-research This issue requires some research before it can be worked on or estimated impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed release_note:enhancement labels Dec 6, 2022
@kertal kertal added the Icebox label Sep 19, 2024
@kertal
Copy link
Member

kertal commented Sep 19, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
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:Discover Discover Application Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests