github/hubot-scripts — pull request #949 by spajus (2013-05-22 02:42:36+00:00)
Title: Graylog message fetcher

Usage:

```
hubot graylog - output last 5 graylog messages
hubot graylog - output last graylog messages
hubot graylog - output some messages from given stream
hubot graylog host - output some messages from given host
hubot graylog hosts - list graylog hosts
hubot graylog streams - list graylog streams
```

Example output:

```
Hubot> hubot graylog errors 3
Hubot> [2013-05-22 02-31-39] RestClient::InternalServerError: 500 Internal Server Error
Hubot> [2013-05-22 02-31-39] RestClient::InternalServerError: 500 Internal Server Error
Hubot> [2013-05-22 02-31-37] Errno::ENOENT: No such file or directory - ./public/photos/thumb500_36723.JPG
```