Skip to content

Instantly share code, notes, and snippets.

This will be a copy/paste doc for installing redis, elasticsearch and logstash on ubuntu 12.04

Pre-Requisites

apt-get update
apt-get upgrade
apt-get install tcl8.5 tcl8.5-dev build-essential rubygems git \
htop python-dev openjdk-7-jre-headless libcurl4-openssl-dev \
bison ctags flex gperf libevent-dev libpcre3-dev libssl-dev libreadline6-dev \
libtokyocabinet-dev libncursesw5-dev libxml2-dev libxslt1-dev libsqlite3-dev \
@ddreier
ddreier / gist:6473794
Created September 7, 2013 08:08
nx-log Event Logs to Logstash config
######################
#### nxlog.conf ####
######################
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
input {
tcp {
port => 5000
type => "syslog"
}
tcp {
type => "eventlog"
port => 3515
codec => json_lines
}
@ddreier
ddreier / gist:d3cc5ca730d9fd40df18
Created May 28, 2014 02:40
nx-log Event Logs and IIS Logs to Logstash
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
define ROOT C:\Program Files\nxlog
#define ROOT C:\Program Files (x86)\nxlog
var rtpmidi = require('rtpmidi');
var session = rtpmidi.manager.createSession({
localName: 'My RTPMidi Session',
bonjourName: 'Node Midi Client',
port: 5006
});
// Create a clock