lmenezes / elasticsearch-kopf Goto Github PK
View Code? Open in Web Editor NEWweb admin interface for elasticsearch
License: MIT License
web admin interface for elasticsearch
License: MIT License
Currently if you close an index it still leaves them sitting in the cluster table but with no shard allocation as expected, however if close (eg) the last N indexes then the first N pages in the index listing can end up with a bunch of empty boxes.
Just like for data/master/client nodes, it's be nice to be able to filter these closed indexes out in the listing.
head handles this by pushing the positioning of them all the way to the right, and displaying only open indexes from the left, so that might be an alternate option.
maybe a tooltip or on click
when the number of alias is extremely high, constantly recalculating the visible aliases becomes expensive. the idea is to cache the visible results and calculate again when needed.
currently cluster info is only fetched when cluster overview tab is selected. even though we can save some requests when this information is not being displayed, in many other screen parts of this information is needed, and it's just easier if this is always available through a service
behavior was broken when the cached view was implemented. fix is to always set the list of aliases on the pagination wrapper so view is refreshed upon deletion/insertion
https://github.com/lmenezes/elasticsearch-kopf/blob/master/src/kopf/controllers/global.js#L78
this is due to the renaming and moving around of methods
since the body is not actually sent but it might give the idea it is
first thing, apparently using jsonp is slower.
on top of that, jsonp should only be used for cross domain requests, but currently is used every time for get requests. we should at least check we are not requesting data from the same domain.
this should be per version, so its easy to see what works/breaks each version
when state/stats cant be fetched(either to slow nodes or whatever), display some kind of helpful diagnosis(even raw cluster state might help), instead of just hiding screen and displaying an error message
I'm accessing my cluster over SSL (HTTPS). When I connect to kopf installed on my cluster with the https://
url it changes it to http://
as seen in the trying to connect message (location bar still contains https://
). It works when I manually paste in the correct url.
Howdy, I really like kopf! Very slick. I'm the author of elastic-hammer , and I'm wondering if there'd be any interest in integrating elastic-hammer as the query interface to kopf. The current one is pretty bare-bones. Elastic-hammer on the other hand doesn't really handle much else beside rest requests. It could make for a good combo. Your thoughts?
otherwise, there might be a considerable delay between the time the model is changed and that this is visible on de user interface
since the client always expects a json response, when response is something different(like a stacktrace), the response body is never displayed
overwrite json configuration if specified on the input boxes
when index is recovering docs information is not available and this was never taken into account
when adding a new alert after this threshold has been met, drop the oldest alert
currently alerts are basically handled inside global controller. makes more sense also to have a service for that. the service could also handle fade of alerts as well as multiple alerts(currently not supported)
also let it clear that adding an alias to the list doesnt automatically apply the changes.
on the cluster settings page, the settings are being constantly reloaded with the cluster state reload. this should be loaded once the page is active, and only refresh again on save or when page is opened again.
It'd be great if the refresh time could be saved in a cookie so that a browser/tab restart doesn't reset the timing down to 3 seconds, as that's not really a sane default when running kopf over a WAN link due to the amount of data it transfers.
there is a lot of replicated code fetching indices, aliases, types and etc. this info is now always available on the cluster service
Hiya
I tried to access a remote cluster with a local kopf (to test the user/password plus path prefix thing) and I can't because you're not using jsonp:
XMLHttpRequest cannot load http://..some.domain.../_nodes?all=1/_cluster/nodes/stats?all=true. Origin http://lmenezes.com is not allowed by Access-Control-Allow-Origin. lmenezes.com/:1
Heya
It would be good if kopf could accepts URLs like:
https://user:[email protected]/path/prefix
Currently this causes kopf to fail to connect.
see ajaxorg/ace#1534
the editor is used in many places now, and it makes sense wrap that in a service so code is less clutered
this happens since the check for has connection passed, but the actual data still hasn't been retrieved. the ideal would be checking the whole html block with an ng-if instead of ng-show, but its still not available in this angularjs version. so, just check if cluster != null before trying to return it
currently, alerts displayed on modal use a different model and flow. they should be unified to use the normal alert system, since modals are also going away soon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.