Skip to content
An example Rails application thats setup to send its logs to a Logstash instance
Ruby HTML JavaScript CSS Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
storage
test
tmp
vendor
.browserslistrc
.gitignore
.ruby-version
Gemfile
Gemfile.lock
Logstash.Dockerfile
README.md
Rails.Dockerfile
Rakefile
babel.config.js
config.ru
docker-compose.yml
docker-entrypoint.sh
package.json
postcss.config.js
rails-udp-input.conf
yarn.lock

README.md

Rails Logstash Example

This is an example Rails 6 application that is configured to send its logs to a Logstash instance over UDP.

You can read Sending Rails Application Logs to Logstash over UDP over on my blog which walks you through the steps required to add this to an existing Rails app.

Getting started

To run the project you will need Docker and DockerCompose installed on your machine. You can then run the project via DockerCompose as below;

docker-compose up

Once you have the application up and running you can access the services at the following URLs:

You can’t perform that action at this time.