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

Allow terms agregation on _field_names field #5914

Closed
skundrik opened this issue Jan 15, 2016 · 1 comment
Closed

Allow terms agregation on _field_names field #5914

skundrik opened this issue Jan 15, 2016 · 1 comment

Comments

@skundrik
Copy link
Contributor

Would it be possible to allow terms aggregation (maybe others as well) on _field_names field in Kibana? I can do it in Sense by hand crafting the query. It would be useful for analysis of key=value type of messages.

GET index1/_search?size=0
{
  "query": {
    "query_string":{
      "query": "*"
    }
  },
  "aggs": {
    "Field names": {
      "terms": {
        "field": "_field_names",
        "size": 0
      }
    }
  }
}
@spalger
Copy link
Contributor

spalger commented Jan 16, 2016

You will be able to once #5806 is merged, by adding _field_names to the metaFields advanced config

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

3 participants