Sha256: b8bfd3a591616e8f862ba6e7c344f611298f5e5826e452c9e22d3f2177176bce

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

# Rack::Logstasher

Rack middleware to log requests in logstash json event format

## Installation

Add this line to your application's Gemfile:

    gem 'rack-logstasher'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rack-logstasher

## Usage

Add this to the middleware stack.  e.g.

    use Rack::Logstasher::Logger, Logger.new("/path/to/logfile.json.log")

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## Licence

[MIT License](LICENCE)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-logstasher-1.1.0 README.md