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

Display fields by index/type #4252

Closed
monowai opened this issue Jun 16, 2015 · 2 comments
Closed

Display fields by index/type #4252

monowai opened this issue Jun 16, 2015 · 2 comments

Comments

@monowai
Copy link

monowai commented Jun 16, 2015

KB currently reads the field list from the index. An index can contain multiple Types
From the ES docs:
"...type is defined for documents that have a set of common fields"

When you have many different types within the same index the dropdowns can get rather confusing if fieldnames are not consistent across types.

It is not possible to define an index pattern that includes the Type that you are interested in - the UI reports it as an invalid index pattern.

Couple of suggestions

  • Support an optional Type when defining an index pattern
  • Let the user filter the field list by Type when creating visualisations

This is somewhat related to #1540

@rashidkpc
Copy link
Contributor

We generally don't recommend people use types, rather just pick an arbitrary field and call it type. Types can get messy and there's a big refactoring of them coming in ES 2.0 that will likely be painful for many logging users.

We're working to improve the select box, but grouping by type isnt likely to be the way we do it: #2130

@monowai
Copy link
Author

monowai commented Jun 17, 2015

ES 2.0 Mapping Type change
elastic/elasticsearch#8870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants