This file contains 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
#!/bin/bash | |
rand () | |
{ | |
RANGE=$1; | |
number=$RANDOM; | |
let "number %= $RANGE"; | |
let "number = $number + 1" | |
} | |
PICRANGE=$(ls pics/* 2>/dev/null | wc -l) | |
QUOTERANGE=$(ls quotes/* 2>/dev/null | wc -l) |
This file contains 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
I MEAN, EVERYBODY KNOWS THAT LITHIUM CARBONATE | |
BECOMES VERY UNSTABLE -- | |
WHY ARE YOU LOOKING AT ME LIKE THAT? | |
WHY ARE YOU STEPPING ON ME LIKE THIS? | |
YOU KNOW WHY. | |
I DON'T WANT TO GET INTO A WHOLE THING NOW, CARL. | |
I MEAN, I REALLY DON'T. NOT NOW. | |
IT'S BECAUSE YOU'RE SO SMART. | |
CARL. | |
I CAN'T HELP IT. YOU'RE SO BIG. |
This file contains 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
{:timestamp=>"2013-12-10T20:59:56.794000+0000", :message=>"Exception in filterworker", "exception"=>#<TypeError: can't clone Fixnum>, "backtrace"=>["org/jruby/RubyKernel.java:2055:in `clone'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/logstash/event.rb:81:in `clone'", "org/jruby/RubyHash.java:1324:in `each'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/logstash/event.rb:79:in `clone'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/logstash/filters/split.rb:51:in `filter'", "org/jruby/RubyArray.java:1613:in `each'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/logstash/filters/split.rb:48:in `filter'", "(eval):2463:in `initialize'", "org/jruby/RubyProc.java:271:in `call'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/logstash/pipeline.rb:250:in `filter'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/logstash/pipeline.rb:191:in `filterworker'", "file:/usr/local/logging/logstash/logstash-1.2.2-flatjar.jar!/lo |
This file contains 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
input { | |
udp { | |
port => 5140 | |
type => syslog | |
} | |
} | |
filter { | |
metrics { | |
type => "syslog" |
This file contains 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
{:timestamp=>"2013-08-26T12:50:06.811000-0500", :message=>"Trouble sending GELF event", :gelf_event=>{"short_message"=>nil, "full_message"=>"%{@message}", "host"=>"moslexglog-devel", "file"=>"%{@source_path}", "_events.count"=>4981, "_events.rate_1m"=>194.2989022840943, "_events.rate_5m"=>199.33349711756875, "_events.rate_15m"=>199.5631028812791, "_tags"=>"metric", "facility"=>"%{syslog_facility}"}, :event=>#<LogStash::Event:0xeda3936 @cancelled=false, @data={"@source"=>"unknown", "@tags"=>["metric"], "@fields"=>{"events.count"=>4981, "events.rate_1m"=>194.2989022840943, "events.rate_5m"=>199.33349711756875, "events.rate_15m"=>199.5631028812791}, "@timestamp"=>"2013-08-26T17:50:06.809Z", "@source_host"=>"loghost"}>, :error=>#<ArgumentError: short_message is missing. Options version, short_message and host must be set.>, :level=>:warn} |
This file contains 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
{:timestamp=>"2013-08-22T14:34:33.770000-0500", :message=>"Output thread exception", :plugin=><LogStash::Outputs::Gelf facility=>"%{syslog_facility}", level=>["%{syslog_severity}"], host=>"127.0.0.1", sender=>"%{@source_host}", file=>"%{@source_path}", ignore_metadata=>["severity", "source_host", "source_path", "short_message"], full_message=>"%{@message}", short_message=>"short_message">, :exception=>#<NoMethodError: undefined method `downcase' for nil:NilClass>, :backtrace=>["file:/usr/local/logging/logstash-1.1.13/logstash-1.1.13-monolithic.jar!/logstash/outputs/gelf.rb:193:in `receive'", "file:/usr/local/logging/logstash-1.1.13/logstash-1.1.13-monolithic.jar!/logstash/outputs/base.rb:55:in `handle'", "file:/usr/local/logging/logstash-1.1.13/logstash-1.1.13-monolithic.jar!/logstash/agent.rb:805:in `run_output'", "file:/usr/local/logging/logstash-1.1.13/logstash-1.1.13-monolithic.jar!/logstash/agent.rb:419:in `start_output'"], :level=>:warn} | |
rate: 137.1745003240963 | |
{:timestamp=>"2013-08-22T14:34:38.770000-0 |
This file contains 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
input { | |
tcp { | |
port => 5140 | |
type => syslog | |
} | |
udp { | |
port => 5140 | |
type => syslog | |
} | |
} |