A collection of Splunk recipes for Heroku logs. Instructions for setting up Splunk Storm with Heroku can be found here. For the vast majority of these recipes you'll need to have enabled the Heroku labs feature, log-runtime-metrics, for your application.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'bundler' | |
require 'fileutils' | |
TMP_DIR = "/tmp/gems" | |
#If directory exists, delete it and recreates. | |
FileUtils.rm_rf(TMP_DIR) if File.exists?(TMP_DIR) | |
FileUtils.mkdir TMP_DIR |
NewerOlder