Skip to content

Instantly share code, notes, and snippets.

@dougmcclure
dougmcclure / gist:c14cf76e7d79141e76f8
Created December 12, 2014 15:02
logstash 150b1 patterns not loading
[root@nc048152 logstash150b1]# bin/logstash agent -f /opt/logstash150b1/configs/logstash-newpluginv2.conf --verbose
Using milestone 2 input plugin 'tcp'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.5.0.beta1/plugin-milestones {:level=>:warn}
Using milestone 2 input plugin 'file'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.5.0.beta1/plugin-milestones {:level=>:warn}
Using milestone 2 filter plugin 'json'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.5.0.beta1/plugin-milestones {:level=>:warn}
Using milestone 1 output plugin 'scala'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve th
@dougmcclure
dougmcclure / browser logging in firebug
Created December 12, 2014 01:14
kibana 4 b2 + ES 1.4.1 + logstash 1.5b1 - changed ports, Kibana doesn't render in FF/Chrome
XUL box for body element contained an inline kbn-notifications child, forcing all its children to be wrapped in a block.
GET http://127.0.0.1:8080/config?_b=3998
200 OK
130ms
index.js?_b=3998 (line 42400)
INFO: 2014-12-12T01:08:07Z
Adding connection to http://127.0.0.1:8080/elasticsearch
@dougmcclure
dougmcclure / gist:d88a2ac98181ba5e5845
Created December 11, 2014 22:32
kibana 4 b2 logs in Docker container
vagrant@ubuntu-14:/vagrant/ELK-for-Bluemix$ docker attach f27098c8f289
[2014-12-11 22:14:13,006][INFO ][node ] [Puishannt] initialized
[2014-12-11 22:14:13,024][INFO ][node ] [Puishannt] starting ...
[2014-12-11 22:14:14,548][INFO ][transport ] [Puishannt] bound_address {inet[/0:0:0:0:0:0:0:0:9443]}, publish_address {inet[/172.17.0.70:9443]}
[2014-12-11 22:14:14,825][INFO ][discovery ] [Puishannt] elasticsearch/fRE7Ly3ETVOONryK9xLmZw
[2014-12-11 22:14:18,950][INFO ][cluster.service ] [Puishannt] new_master [Puishannt][fRE7Ly3ETVOONryK9xLmZw][f27098c8f289][inet[/172.17.0.70:9443]], reason: zen-disco-join (elected_as_master)
[2014-12-11 22:14:19,231][INFO ][http ] [Puishannt] bound_address {inet[/0:0:0:0:0:0:0:0:9080]}, publish_address {inet[/172.17.0.70:9080]}
[2014-12-11 22:14:19,236][INFO ][node ] [Puishannt] started
[2014-12-11 22:14:19,319][INFO ][gateway ] [Puishannt] rec
@dougmcclure
dougmcclure / gist:59ed5a77490e803f6108
Created December 11, 2014 22:21
Kibana 4 b2 not loading
"INFO: 2014-12-11T22:16:37Z
Adding connection to http://127.0.0.1/elasticsearch
" index.js:78028
"Error: [$injector:unpr] Unknown provider: timefilterProvider <- timefilter <- config <- prettyDurationDirective
http://errors.angularjs.org/1.2.26/$injector/unpr?p0=timefilterProvider%20%3C-%20timefilter%20%3C-%20config%20%3C-%20prettyDurationDirective
minErr/<@http://127.0.0.1/index.js?_b=3998:9269:5
createInjector/providerCache.$injector<@http://127.0.0.1/index.js?_b=3998:12993:13
getService@http://127.0.0.1/index.js?_b=3998:13121:11
createInjector/instanceCache.$injector<@http://127.0.0.1/index.js?_b=3998:12998:17
@dougmcclure
dougmcclure / gist:5521997
Created May 5, 2013 19:59
Vagrant 1.2.2 / VirtualBox 4.2.12 / RedHat 6.4 : The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! /sbin/ifup eth1 2> /dev/null
vagrant 1.2.2 / virtualbox 4.2.12 on win7
Trying to build and spin up RedHat 6.4 base box
Tried numerous things I've seen related to ifcfg-eth0 options (onboot, hwaddr, etc.) and the 70-persistent-net.rules with no luck.
Here's a vagrant up with logging on
D:\ILA-Open-Beta-Scenario2\buildbox>vagrant up
INFO global: Vagrant version: 1.2.2