Skip to content

Instantly share code, notes, and snippets.

Dick Davies rasputnik

Block or report user

Report or block rasputnik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rasputnik / gist:1048575
Created Jun 27, 2011
logstash not parsing syslog?
View gist:1048575
[root@topcat logstash]# java -jar logstash-1.0.12-monolithic.jar agent -f logstash-simple.cnf
{:args=>["agent", "-f", "logstash-simple.cnf"]}
W, [2011-06-27T10:36:21.439000 #27280] WARN -- runner.class: Input #<LogStash::Inputs::Syslog:0x12297d7> shutting down
2011-06-27T09:36:21.991000Z syslog:// <30>ntpd[3355]: synchronized to, stratum 2
2011-06-27T09:36:22.631000Z syslog:// <14>ncpd: cmd=0, len=14, data: BB BB 00 1C 00 00 00 00 1C 3F 00 00 00 00
[root@topcat logstash]# cat logstash-simple.cnf
input {
syslog {
anandology / coucheval.js
Created Nov 4, 2010
node.js script to process couchdb output
View coucheval.js
#!/usr/bin/env node
// Sample usage:
// $ curl -s '' | coucheval.js 'console.log(JSON.stringify(row.doc));'
var carrier = require('carrier');
var stdin = process.openStdin();
You can’t perform that action at this time.