-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Plan for renaming index patterns #94244
Comments
++ for data view (or if data is seen as redundant, view) |
I think the goal of "eliminating confusion around the overlapping ES concept of 'index pattern'" is achieved here, so for that, I'm on board. My main concern is just that we will eventually run into a similar confusion if we aren't as specific as possible with what this item is. Is there a single paragraph/list definition of what this item is, so we can compare the name to that description and make sure it feels as descriptive as possible? I think that'd be a useful exercise before we lock something in. (I imagine "Index View" is inaccurate because data streams aren't technically indices, etc.) |
This comment doesn't try to define a list for Elastic/Kibana, just looking at View as an industry standard term (several things have views eg. MongoDB, not just SQL/RDBMS). Getting started initiative: One benefit is that the user can immediately relate to a likely familiar concept (view; and as @mattkime mentions, makes clear it's not a visual view eg. chart). Meanwhile, index pattern has become a strong misnomer over feature accretion, doing more to muddle than to help concept discoverability. A view is pretty much a something
Very often, the conduit function goes along with one or more of the following:
The concept of view (data view) is non-committal w.r.t. which parts are best implemented in Kibana, vs. deeper in the stack, mostly Elasticsearch, so it retains the flexibility for moving things now in Kibana into ES if/when it becomes useful. Such "late binding" is useful for future implementational leeway. P.S. link to an older convo here |
Pinging @elastic/kibana-app-services (Team:AppServices) |
Quoting @VijayDoshi
|
i personally wouldn't know what data workspace means and would need to learn it (just as index patterns) where with data views i would have an idea of what it is but might be confused then by additional things we put on there. It does have the benefit of not overlapping with elasticsearch index patterns. would this cause any confusion with kibana spaces ? |
Yes, Spaces and Workpads sprung to mind too. @ppisljar I agree with your "wouldn't know" take; also, think there's no need for overloading the meaning of View, relative to the above list. It's tempting to squeeze too much into a generally named object. A sharp name would help strive for a clear entity map of our concepts. Names are part of all UX and can be major assistance to users and developers for Getting Started. I ❤️ it when tools make me feel "I can use this right away!" familiar and conversant. Mongo added views as well (just View, not Data View, which I haven't seen much). We also don't need to let RDBMS appropriate this word 😄 Views are also composable. Eg. one view providing narrower or multi-source access onto another view(s) (@ruflin made this point too). Otherwise there'll be error prone repeated maintenance, and all views (index patterns) need to change whenever the ES index layer changes (DRY principle). |
Workspaces feels a little too generic to me also. That might be the final outcome we want to get to, but to me that also feels too close to Space to me. Workspace feels like my own private space. |
Quickly searching around, it's definitely overloaded, but seems to generally represent a intermediary view of some underlying data: Data View - Salesforce - Data Views are a powerful feature of Salesforce Marketing Cloud. They store subscriber information and the last six months of tracking data for your account. Data View - Microsoft - Represents a databindable, customized view of a DataTable for sorting, filtering, searching, editing, and navigation. DataView - Mozilla - The DataView view provides a low-level interface for reading and writing multiple number types in a binary ArrayBuffer, without having to care about the platform's endianness. Data View - BEA: Oracle - Data views are derived from stored queries. Only one data view can be created from a stored query. Data View - Google - A read-only view of an underlying DataTable. A DataView allows selection of only a subset of the columns and/or rows. It also allows reordering columns/rows, and duplicating columns/rows. View - SAP - An SAP HANA view is used to select data, analyze data, or perform calculations with data from the SAP HANA database. I would think it's safer to side with the general understanding of that concept, even though it's a bit vague. I also felt Data View was too generic, but now I think it might be the best compromise to keep it easy to relate to. |
I like "Index Group" (which could reference a single or multiple indices). But as @jasonrhodes points out, it implies indices and excludes data streams. @jasonrhodes also suggested we describe it in a paragraph to help focus on an obvious term. I think the thing we've been calling "index pattern" is mostly "an index field cache, with custom field formatting". But maybe I'm missing some important functions of it. I guess "index metadata cache" doesn't roll off the tongue too easily. |
Found this definition of "Data View" on Simplicable: A data view is a data structure or visual representation of data that differs from physical data. A view is virtual in nature and differs from the structure and content of data repositories. For example, low quality comments may be stored in a data repository but may never show up in a view for users. Definition (1) | A structure or visualization of data that differs from a data repository. https://simplicable.com/new/data-view If that's a generic definition, it seems to fit our usage. |
I'm coming back to Data View - it seems to have an appropriate level of precision and our usage of the term is not out of line with similar usage in other products. |
Hi folks, what would be our next step here? Would be glad to hop on an efficient call to help resolve, if it's pending |
@monfera Next steps are at the bottom of the issue description. We need product agreement on the name, past that its just estimating and scheduling work. |
@VijayDoshi are you ok going with DataView given @elastic-jb research? I think we need to close out this decision. |
One question before I commit, @elastic-jb - what do other products call the "semantic layer"? I imagine "Data Views" could contain quite a bit of additional meta-data eventually, formatting, descriptions, tags, author (for runtime fields), created/modified dates, versions etc. For example, a field "temperature" should be a continuous color from blue to red and should be formatted as ###.## F. Then, every temperature is used we always use the specified default formatting. If it included all of that would you still call it a "Data View"? Probably ok, just trying to think of the future of this thing. |
I am also ++ for "Data View." As far as iconography, I think shutter shades would be an excellent choice. They carry idea of "visual representation of data that differs from physical data," and they look hip. :D |
@VijayDoshi Thanks for these examples! The metadata model is structured in other systems too, whether such constituents have user facing names or not. Most items you listed are for the field level granularity and fit in the Data View concept. Eg. for the field granularity, SAP distinguishes between domains and data elements (not suggesting these names, just examples):
The discrete vs continuous and other semantic categorizations are important too, so charts and reports can be generated easily, the user getting good defaults specified by their data owners or automatically. It'll be possible to link shared scales (eg. as in your temperature color example) to fields; such sharing is found in Beyond palettes: shared visual attributes. It's useful to eventually name our field level concepts going forward in our stack too. Current Elasticsearch metadata and physical properties are not enough for an ideal recommender. One of the hopeful outcomes with the Data View concept is that we together get to refine
These need a long term, sustained effort, I trust that the current reinterpretation of index patterns is conducive to it. |
Can we call this done? Decision : "Data View"? Separately, @monfera - Across field attributes are an interesting and different concept from most RDBMS attributes. Can you provide some examples of when this would be useful (like my temperature example) - perhaps a BI example would be use default color pallet a for customers and color pallet b for orders? Tableau allows you to create arbitrary hierarchies, would we want to express something like that in the Data View; or would we always rely on the physical hierarchy since we have the structure already in the document? |
+1 from me. "Data View" |
Sounds great! |
I have not heard any objection, so we will close the naming portion of this issue with the term "Data View" to replace "Index Pattern." |
@VijayDoshi thanks for the question, the examples you listed are what i had in mind too, here's a list of other kinds of metadata across fields which would be great for visualization: #97278 And Product Managers, Lens and KibanaApp implementor folks may have a bunch of related notions on metadata, it's currently pretty hard to generate good defaults and chart recommendations |
Wondering, are we planning / expecting to be able to do that? Just want to know if #91143 is going to be a hard requirement on that one. |
While it would be nice to address, this is a low priority. We thought we'd do this 'someday' |
@mattkime A couple of questions that are not clear to me from this issue:
|
#109284 lists the docs that require updating. The docs team would appreciate help from the individual teams. |
As @gchaps states, teams should address docs too.
We'll create new keys and deprecate the old ones but at this point there's no action required. |
@gchaps How should we coordinate doc updates? The release process for docs is different than our kibana binaries. |
We can use #109284 to coordinate updates. That issue lists all the docs that need updating, arranged by group. Each group should have an owner--I assigned Kaarina and myself the intro docs. Ping kibana docs for review when the PR for your area is ready. The update should be complete by feature freeze. |
completed |
Addresses #44955
This change should be rolled out with the 8.0 release, at very least from a user facing perspective.
data.indexPatterns
=>data.views
- 7.16 - Index patterns => data views - rename code #103978data.indexPatterns
and offerdata.views
index pattern
references in API methods, not just top level service nameUse feature branchUse individual branches, merge to main and 8.0The text was updated successfully, but these errors were encountered: