Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Small hack to draw date histogram facets as graph using nvd3.js
Branch: master

This branch is 4 commits behind spinscale:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
img
js
README.md
facetgraph-screenshot.png
index.html

README.md

Elasticsearch date histogram facet grapher

This is a very simple graphing tool for date histogram facets.

Screenshot

Action Screenshot

Installing the plugin

bin/plugin -install spinscale/elasticsearch-facetgrapher

Then Open this URL in your browser

http://localhost:9200/_plugin/facetgrapher/index.html

After opening the URL, an AJAX request to the cluster state API will be issued automatically. The request will check for any fields which are of type "date" in your indices. These will be available in the dropdowns. Whenever you select an index in your dropdown, you will only get listed those types which are available in this index. Same goes for the fields.

Technologies used:

TODO

  • The current code base is just plain ugly, and does not do any good job in terms of application design or MVC. Rewrite the code in something cool like emberjs or backbone or batman or whatever. I really accept pull requests in this case. I havent yet really grasped stuff like emberjs. So I also accept hackathon requests :-)
  • Furthermore, after making this more MVC like, I would like to be able to store all model data in the URL, which would allow persons to exchange links to predefined graphs.
  • Also datetimepickers would be nice, could not find any for bootstrap.
  • And labels dependant on the interval would also be useful.

License

Respect the individual licenses of the other projects. All the code I wrote is licensed under do-what-you-want-with-it license.

Something went wrong with that request. Please try again.