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

Visualize: option to order terms lexicographically #1980

Closed
jimmyjones2 opened this issue Nov 19, 2014 · 4 comments
Closed

Visualize: option to order terms lexicographically #1980

jimmyjones2 opened this issue Nov 19, 2014 · 4 comments

Comments

@jimmyjones2
Copy link
Contributor

Split out from #1903. Kibana 3 had the option to order bars lexicographically as well as by frequency (count, reverse_count, term, reverse_term if I remember correctly).

Also, I wonder if anyone needs to sort by single or multi value metrics sub-aggregation?

@rashidkpc rashidkpc added release_note:enhancement Feature:Vislib Vislib chart implementation labels Nov 19, 2014
@mmolnar
Copy link

mmolnar commented Feb 16, 2015

I would welcome this option as it was already available in Kibana 3 and I am using it in some graphs.

@mmolnar
Copy link

mmolnar commented Feb 17, 2015

Ok, so I was able to achieve the same functionality by usig advanced and adding
{"order":{"_term": "asc"}} to JSON input.

Other options from kibana 3 can be achieved similarly:
reverse_term
{"order":{"_term": "desc"}}
count
{"order":{"_count": "asc"}}
reverse_count
{"order":{"_count": "desc"}}

@ksmets
Copy link

ksmets commented Feb 20, 2015

+1

@rashidkpc rashidkpc added the help wanted adoptme label Feb 25, 2015
@spalger spalger removed the Feature:Vislib Vislib chart implementation label Mar 17, 2015
@spalger spalger self-assigned this Mar 17, 2015
@rashidkpc rashidkpc removed the help wanted adoptme label Apr 3, 2015
@webmstr
Copy link

webmstr commented May 15, 2015

Thanks @mmolnar for the work-around.

+1 on the original request, though.

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

6 participants