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

Missing values and Data Table #4760

Closed
acheriat opened this issue Aug 26, 2015 · 6 comments
Closed

Missing values and Data Table #4760

acheriat opened this issue Aug 26, 2015 · 6 comments

Comments

@acheriat
Copy link

Hi,
In Kibana, when I add a field with missing values to a "data table", a curious behavior occurs :
the rows that contains missing values disappear from the table data.

Would you have any idea to solve this problem?

Example :
capture_avant_filtre

After
capture_apres_filtre

@spalger
Copy link
Contributor

spalger commented Aug 26, 2015

It sounds like you are looking for #1961

Is that the case?

@acheriat
Copy link
Author

Thanks for your answer,

If Kibana or ES don't be able to detect missing values, this is a big loss.

The advantage of NoSQ db, is to allow us to have rows whose structure can be different and therefore missing values for columns that are not specified.

Should I infer that i must replace all missing values by some thing?

@spalger
Copy link
Contributor

spalger commented Aug 26, 2015

Well, there are ways to see how many documents do not have a value for a specific field, but the purpose of the terms aggregation is to show you the top terms, nothing else. Consider turning your terms aggregation into a filter aggregation, and then filter on the rows you expect, maybe:

  1. od_sexe:HOMME
  2. od_sexe:FEMME
  3. -od_sexe:*

@acheriat
Copy link
Author

Tnaks for your answer ...

I agree that it meets the need but this only an example to illustrate my problem.
I think I did not set a full example. I am sorry.

Rather than the field "od_sexe" (where valuers filtering can be enumerable), Imagine another field "city" for example, where the possible range of values can be very large.

I think, we agree, that the solution below is not suitable.

PS: in the example above, I use the way "Terms aggragation" to generate a "data Table" that looks like Excel (name, sex, birth day, city, ...etc). I have not found another way to do it ...

@acheriat
Copy link
Author

is there any idea for fields of type date that contains null values (vs enumerable fields)?

@rashidkpc
Copy link
Contributor

As noted, this is a duplicate of #1961

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

No branches or pull requests

3 participants