Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
Hit http://prd.aptly.peak6.net trusty InRelease
Hit http://prd.aptly.peak6.net trusty InRelease
Hit http://prd.aptly.peak6.net trusty/main amd64 Packages
Hit http://prd.aptly.peak6.net trusty/main i386 Packages
Hit http://prd.aptly.peak6.net trusty/main amd64 Packages
Hit http://prd.aptly.peak6.net trusty/main i386 Packages
Ign http://prd.aptly.peak6.net trusty/main Translation-en_US
Ign http://prd.aptly.peak6.net trusty/main Translation-en
Ign http://prd.aptly.peak6.net trusty/main Translation-en_US
Ign http://prd.aptly.peak6.net trusty/main Translation-en
{
"query": {
"filtered": {
"query": {
"query_string": {
"query": "event:purchase_confirmation",
"analyze_wildcard": true
}
},
"filter": {
[2015-12-15 14:22:03,190][INFO ][node ] [Skinhead] version[2.1.0], pid[7874], build[72cd1f1/2015-11-18T22:40:03Z]
[2015-12-15 14:22:03,191][INFO ][node ] [Skinhead] initializing ...
[2015-12-15 14:22:03,245][INFO ][plugins ] [Skinhead] loaded [], sites []
[2015-12-15 14:22:03,273][INFO ][env ] [Skinhead] using [1] data paths, mounts [[/var (/dev/mapper/VolGroup00-LV_VAR)]], net usable_space [3.8gb], net total_space [4.7gb], spins? [possibly], types [ext4]
[2015-12-15 14:22:05,187][INFO ][node ] [Skinhead] initialized
[2015-12-15 14:22:05,187][INFO ][node ] [Skinhead] starting ...
[2015-12-15 14:22:05,248][INFO ][transport ] [Skinhead] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2015-12-15 14:22:05,280][INFO ][discovery ] [Skinhead] elasticsearch/VBJCLZSSRpG3RqgdmxskYg
[2015-12-15 14:22:08,313][INFO ][cluster.service ]
{
"quandl": {
"key": ""
},
"es": {
"timefield": "@timestamp",
"default_index": "events-1",
"allow_url_parameter": false
},
"graphite": {
@codyaray
codyaray / gist:fb9c6b64dc5118bcc8ea
Created January 22, 2016 18:26
stackstorm install fail
$ sudo update-system
Configuring system...
Already up-to-date.
Ensuring pre-flight libraries are setup...
Installing vendored puppet modules...
Setting up Puppet environments...
Notice: Compiled catalog for pvlchi6dstack1.peak6.net in environment production in 6.79 seconds
Error: Cannot create /var/lib/postgresql/9.3/main; parent directory /var/lib/postgresql/9.3 does not exist
Error: /Stage[main]/Postgresql::Server::Initdb/File[/var/lib/postgresql/9.3/main]/ensure: change from absent to directory failed: Cannot create /var/lib/postgresql/9.3/main; parent directory /var/lib/postgresql/9.3 does not exist
Notice: [st2::stanley] WARNING: No private and public SSH key provided. Please refer to Class[st2] to learn more on configuring this for production use
@codyaray
codyaray / hot_threads.txt
Created January 15, 2016 13:30
pre-market-open hot_threads
::: [svlchi6pesm03.peak6.net][0zQiOjCySx2lc2CjKKAuxQ][svlchi6pesm03][inet[/10.2.4.180:9300]]{data=false, box_type=mgmt, master=true}
Hot threads at 2016-01-15T13:21:43.134Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
0.0% (196.5micros out of 500ms) cpu usage by thread 'elasticsearch[svlchi6pesm03.peak6.net][keep_alive]'
10/10 snapshots sharing following 3 elements
java.lang.Thread.sleep(Native Method)
org.elasticsearch.marvel.agent.exporter.ESExporter$ConnectionKeepAliveWorker.run(ESExporter.java:788)
java.lang.Thread.run(Thread.java:745)
0.0% (91.9micros out of 500ms) cpu usage by thread 'elasticsearch[svlchi6pesm03.peak6.net][transport_client_timer][T#1]{Hashed wheel timer #1}'
@codyaray
codyaray / segments.txt
Created January 13, 2016 19:48
segment sizes 2016.01.13
$ curl http://localhost:9200/_cat/segments/stats-2016.01.13
stats-2016.01.13 0 r 10.100.0.173 _ox5 32297 44216730 0 4.9gb 20866178 true true 4.10.4 false
stats-2016.01.13 0 r 10.100.0.173 _1czz 63503 25564563 0 2.8gb 12632418 true true 4.10.4 false
stats-2016.01.13 0 r 10.100.0.173 _1p5l 79257 31925725 0 3.8gb 16160354 true true 4.10.4 false
stats-2016.01.13 0 r 10.100.0.173 _209s 93664 17198422 0 2.6gb 9621514 true true 4.10.4 false
stats-2016.01.13 0 r 10.100.0.173 _20mi 94122 1491417 0 240mb 1145082 true true 4.10.4 true
stats-2016.01.13 0 r 10.100.0.173 _26je 101786 31944530 0 4.8gb 17021746 true true 4.10.4 false
stats-2016.01.13 0 r 10.100.0.173 _26xs 102304 2062766 0 334mb 1517770 true true 4.10.4 true
stats-2016.01.13 0 r 10.100.0.173 _27rl 103377 2303260 0 373.7mb 1691938 true true 4.10.4 true
stats-2016.01.13 0 r 10.100.0.173 _2870 103932 377836 0 64.2mb 412538 true true 4.10.4 true
@codyaray
codyaray / hot_threads.txt
Created January 11, 2016 19:42
Lots of Lucene Merges
::: [svlchi6pesm03.peak6.net][0zQiOjCySx2lc2CjKKAuxQ][svlchi6pesm03][inet[/10.2.4.180:9300]]{data=false, box_type=mgmt, master=true}
Hot threads at 2016-01-11T19:40:08.163Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
0.0% (198.7micros out of 500ms) cpu usage by thread 'elasticsearch[svlchi6pesm03.peak6.net][keep_alive]'
10/10 snapshots sharing following 3 elements
java.lang.Thread.sleep(Native Method)
org.elasticsearch.marvel.agent.exporter.ESExporter$ConnectionKeepAliveWorker.run(ESExporter.java:788)
java.lang.Thread.run(Thread.java:745)
::: [svlchi6pes02.peak6.net][7QVV3C62QeyeH9RySjm7Cg][svlchi6pes02][inet[/10.2.4.182:9300]]{box_type=slow, master=false}
Topic:stats-test-1 PartitionCount:3 ReplicationFactor:1 Configs:
Topic: stats-test-1 Partition: 0 Leader: 0 Replicas: 0 Isr: 0
Topic: stats-test-1 Partition: 1 Leader: 1 Replicas: 1 Isr: 1
Topic: stats-test-1 Partition: 2 Leader: 2 Replicas: 2 Isr: 2
@codyaray
codyaray / sparse_fields_across_types.txt
Created January 7, 2016 19:42
Each field is unique to a type within one index. Investigating sparse doc_values blowing up disk size.
{
"_shards" : {
"total" : 8,
"successful" : 8,
"failed" : 0
},
"indices" : {
"_all" : {
"fields" : {