This is where I dump random functions that for, whatever reason, I haven't gotten merged into Kibana core. Its my playground, try not to get sand everywhere.
.aggregate()
creates a flat line based on a function, the names of which are probably self explanatory: avg, min, max, last, sum, cardinality
.orderby()
orders a multiple series list by a function, the names of which are probably self explanatory: avg, min, max, last, sum, cardinality, label. The list can be sorted in ascending (asc) or descending (desc) order.
This horribly named function is basically a shortcut for .label('$1', '.*:(.*)\ >.*')
. Its handy when you want to shorten the automatic labels generated by .es(split=someNumber:someField)
I don't usually publish packages for this, but installing directly from Github is fairly simple:
- cd to your
kibana/plugins
directory. wget https://github.com/rashidkpc/timelion-extras/archive/master.zip
unzip master.zip
rm timelion-extras-master/gulpfile.js
(This is a dev environment thing. Kibana won't start if you don't removegulpfile.js
)- Start kibana (and delete that master.zip if you want, or not, it won't break anything)