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

Added scripted_metric in Visualize #5558

Closed
wants to merge 1 commit into from
Closed

Added scripted_metric in Visualize #5558

wants to merge 1 commit into from

Conversation

f1ren
Copy link

@f1ren f1ren commented Dec 3, 2015

Adapted the changes made by @fabiangebert in #2646 into Kibana 4.3

@elasticsearch-release
Copy link

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'.

@spalger
Copy link
Contributor

spalger commented Dec 8, 2015

Is there a way for this to work with Lucene expressions? I'm getting an exception when using it with a default elasticsearch install because groovy scripting is disabled

@spalger spalger self-assigned this Dec 8, 2015
@AlexIoannides
Copy link

Looking forward to this :-)

@fabiangebert
Copy link

I implemented it for scripted_metric aggregation. We use it with Groovy. However, I guess you can switch to a different scripting language.

@spalger
Copy link
Contributor

spalger commented Dec 18, 2015

Unless we can find a way to make this work with lucene expressions then we won't be able to merge this. Sorry. Perhaps once elastic/elasticsearch#13084 lands we can revist this.

@spalger spalger closed this Dec 18, 2015
@JeremyColton
Copy link

This seems like the only way to provide a metric visual of a ratio calculation. When will this feature be added? Having a ratio is the bare minimum of every analytics dashboard. My company is considering abandoning Kibana based on this limitation.

@AlexIoannides
Copy link

@JeremyColton We've developed a simple visualisation plug-in that does the multiplication and division of aggregations using basic JS in the UI. It's a bit too rough to release as a standalone plugin just yet, but it has proved a good work-around for achieving this basic functionality.

@JeremyColton
Copy link

Hi @Alexloannides, awesome! When do you think it will be available?

@AlexIoannides
Copy link

Can't say just yet...

@JeremyColton
Copy link

@AlexIoannides anything is better than nothing :) ...

@JeremyColton
Copy link

@AlexIoannides hi, any update on your super needed plug-in? many thanks...

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

Successfully merging this pull request may close these issues.

6 participants