Skip to content

Instantly share code, notes, and snippets.

{
"checks": [
{
"name": "Demo HTTP Status Check",
"type": "web-ping",
"send_alerts": [
"stderr"
],
"backoff": {
"type": "constant",
@jonog
jonog / logstash.conf
Last active August 29, 2015 14:10
Logstash Testing
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xvzf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247/
./configure --prefix=/usr/local
make
make install