Skip to content

snapfish-soma/rails_splunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby on Rails Splunk App

This is a "fork" of the Ruby on Rails splunk app on SplunkBase.

(There appears to be no repo on Github for this project, so we're adding it for sharing)

Features/Improvements

It has all the same features as the above link, supporting Rails 3.x better by:

  • Concatenates multi-line logging at Splunk (no need to play with Rails' logger)
  • Breaks log entries on "Started" (introduced in Rails 3)
  • Supports small RegExp changes for extracting Controller and Action from a log entry

It's also recommended that you configure your Rails logs to not use ANSI coloring like this:

# e.g., in config/environments/staging.rb
  config.colorize_logging = false

You may need to make a .tar.gz of this directory in order to install it properly for your Splunk server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published