Skip to content

Instantly share code, notes, and snippets.

View wortmanb's full-sized avatar

Bret Wortman wortmanb

View GitHub Profile
# This was obtained from /var/log/logstash/logstash.stdout on the AG node:
{
"message" => "2016-10-05 15:32:18,038 INFO [qtp1519395018-5997] [puppetserver] Puppet Caching catalog for os212.damascusgrp.com",
"@version" => "1",
"@timestamp" => "2016-10-05T20:32:18.038Z",
"input_type" => "log",
"field" => nil,
"source" => "/var/log/puppetlabs/puppetserver/puppetserver.log",
"beat" => {
@wortmanb
wortmanb / beats.conf
Created September 15, 2016 16:23
logstash config
input {
beats {
port => 5043
codec => "json"
}
}
@wortmanb
wortmanb / filebeat.yml
Created September 15, 2016 16:23
filebeats config
filebeat:
prospectors:
-
paths:
- /var/log/httpd/logstash_access_log
input_type: log
document_type: beat
-
paths:
- /var/log/secure
@wortmanb
wortmanb / gist:4896962accb5aa24bcb33b893f6ef477
Created August 17, 2016 19:09
Puppet master config /etc/puppetlabs/puppet/puppet.conf
[master]
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /var/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
codedir = /etc/puppetlabs/code
# certificate_revocation = false
[agent]
classfile = $vardir/classes.txt
@wortmanb
wortmanb / aurora-development.log
Created August 6, 2015 14:57
The log file I get when trying to run "rails g model user", which hangs indefinitely.
(0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
(179.1ms) DROP DATABASE IF EXISTS `aurora_development`
(24.0ms) DROP DATABASE IF EXISTS `aurora_test`
(26.9ms) CREATE DATABASE `aurora_development` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
(0.1ms) CREATE DATABASE `aurora_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
(215.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
(339.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
(0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`