Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hakobera/fluentd-heroku-bootstrap
This is a bootstrap project for installing Fluentd on Heroku
https://github.com/hakobera/fluentd-heroku-bootstrap
Last synced: 3 days ago
JSON representation
This is a bootstrap project for installing Fluentd on Heroku
- Host: GitHub
- URL: https://github.com/hakobera/fluentd-heroku-bootstrap
- Owner: hakobera
- Created: 2014-02-11T11:17:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T17:35:40.000Z (over 1 year ago)
- Last Synced: 2024-11-10T21:43:06.517Z (2 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fluentd-heroku-bootstrap
This is a bootstrap project for installing [Fluentd](http://fluentd.org) on [Heroku](https://www.heroku.com).
## Get started
Clone, create app and deploy, like this:
```
$ git clone https://github.com/hakobera/fluentd-heroku-bootstrap
$ cd fluentd-heroku-bootstrap
$ rm -fR .git
$ git init
$ git add .
$ git commit -m 'initial commit'
$ heroku create
$ git push heroku master
```After deploy, send your first log using curl.
```
$ curl -XPOST -d 'json={"action":"login","user":2}' http://[your-heroku-app-name].herokuapp.com/debug.test
```You can see the result using `heokur logs`:
```
$ heroku logs
# other logs ...
2014-02-11T11:05:25.277117+00:00 app[web.1]: 2014-02-11 11:05:25 +0000 debug.test: {"action":"login","user":2}
```## What should you do next?
You can do a lot of things and use many useful [plugins](http://fluentd.org/plugin/).
See, [Official document](http://docs.fluentd.org/articles/config-file), and edit `fluent-conf.rb` as you like.## License
MIT