Graylog2/graylog2-web-interface — pull request #90 by alexquick (2012-08-08 23:56:46+00:00)
Title: Rudimentary API

Added a simple API to Graylog2

Enables the following routes:
+ `/messages.json`
+ `/streams.json`
+ `/streams/{shortname|fullname}/messages.json`
+ `/hosts.json`
+ `/hosts/{host}/messages.json`

Authentication is done through an admittedly ugly `api_key=xxxxx` query string parameter. An API key for a given user can be generated on their administration page.

I hope someone finds it useful!