Comments (5)
Hi @MrKuip ,
it seems that you are trying to ask Elasticsearch to sort your result by the output of Formula. This cannot be performed, because your Formula is computed in a Kibana context, based on the result of your query to Elasticsearch. As a matter of fact, Elastisearch knows nothing about your Formula, because it has not been computed yet.
Regards
from kibana-datasweet-formula.
I' m asking kibana to sort.
The combobox 'order by' in kibana contains the metric 'metric Formula1'.
Are you saying that I should not choose that option because it doesnt work?
from kibana-datasweet-formula.
yes, this won't work because the sorting is executed by ES, before returning an answer to Kibana. Formula will be computed based on that answer.
The Kibana UI lists any metric as a sorting choice, and we cannot prevent it to do so.
There is no simple way to circumvent this in Kibana.
from kibana-datasweet-formula.
Oke thanks for evaluating my issue.
from kibana-datasweet-formula.
Very cheeky question here:
I believe this plugin will redundant if kibana supports the 'bucket script' aggregation.
I'm using it now in 'Visual builder' and it works good but that has other problems.
Have you considered that you base this plugin on the 'bucket script' aggregation?
This way ES will be responsible for sorting (and you have less code that can break)
from kibana-datasweet-formula.
Related Issues (20)
- Problem whit % format HOT 1
- Problem with decimal HOT 1
- Datasweet formula not show values when aggregation is 0 HOT 2
- Disable Filter/Filter out value
- add more examples?
- Kibana version 7.5 HOT 4
- Announcement : contributors needed to upgrade to new Kibana versions HOT 5
- please update For kibana 7.5.1 HOT 1
- Please update for 7.4 version
- Problem with time related numeral format
- Support for 7.5.1 and 7.6 Kibana HOT 1
- When the version supporting 7.5.1 be released? HOT 5
- Problem with datasweet clash with custom plugins HOT 3
- Invisible in some type of visualizations.
- compatibility with 7.9.1 HOT 1
- Is there any plan for compatible for 7.8.1. HOT 2
- unable to find usable node.js executable HOT 3
- Compatability for > 7.9 Kibana Version
- Compatibility for v 7.10.0
- Update for Kibana 7.14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kibana-datasweet-formula.