logstash | elasticsearch |
---|---|
1.4.2 | 1.1.1 |
1.4.1 | 1.1.1 |
1.4.0 | 1.0.1 |
1.3.3 | 0.90.9 |
1.3.2 | 0.90.9 |
1.3.1 | 0.90.9 |
1.1.10 | 0.20.5 |
1.1.9 | 0.20.2 |
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
#!/usr/bin/env bash | |
##Install python, assuming you already have homebrew: http://brew.sh/ | |
brew install readline sqlite gdbm | |
brew install python --universal | |
python --version ##Python 2.7 | |
##Install PIP | |
easy_install pip |
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
#!/usr/bin/env python | |
import sys | |
from Crypto.Cipher import AES | |
try: | |
wafile=sys.argv[1] | |
except: | |
print "Usage: %s <msgstore.db.crypt>" % __file__ | |
sys.exit(1) |
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
--- | |
- hosts: logstash | |
sudo: True | |
user: root | |
tasks: | |
- name: update logstash.conf | |
command: /bin/true | |
notify: do nothing | |
handlers: |
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 { | |
generator { | |
type => "generated" | |
message => '127.0.0.1 - - [16/Jun/2014:06:25:16 -0400] "POST /this/is/a/sample/path.php HTTP/1.1" 200 3891 "https://www.example.com/foo/bar/qux/baz.php?f=file&active=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:25.0) Gecko/20100101 Firefox/25.0" on www.example.com' | |
count => 1 | |
} | |
} | |
filter { | |
grok { |
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 { | |
generator { | |
type => "generated" | |
message => 'http://www.elasticsearch.org/blog/series-c-financing-sharing-fruit-labors/?example=yes&kv=true&style=elk' | |
count => 1 | |
} | |
} | |
filter { | |
# If you want to chomp off the http:// URI portion: |
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
{ "@fields": { "args": [ "filename", { "title": "that" } ] } } |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise64" | |
config.vm.network :forwarded_port, guest: 9200, host: 9200 | |
config.vm.network :forwarded_port, guest: 9300, host: 9300 | |
config.vm.network :forwarded_port, guest: 9201, host: 9201 |
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
[{ | |
"name" : "redis-server", | |
"script": "/usr/local/bin/redis-server", | |
"instances" : 1, | |
"out_file" : "redis-server.log", | |
"error_file" : "redis-server.error", | |
"exec_interpreter" : "none", | |
"exec_mode" : "fork_mode" | |
}, { | |
"name" : "mongod", |
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 | |
# | |
# mysql_graphite Script to output mysql stats to graphite | |
# | |
# Author: Ehtesh Choudhury/Aaron Kaplan | |
# | |
# chkconfig: - 90 10 | |
# description: Starts and stops mysql_graphite logging. | |
# Based off of /etc/init.d/psacct |
OlderNewer