Skip to content

Instantly share code, notes, and snippets.

View PhaedrusTheGreek's full-sized avatar

Jay Greenberg PhaedrusTheGreek

  • Layer 8 Ideas
  • Canada
View GitHub Profile
<VirtualHost *:80>
<Proxy balancer://my_kibana_cluster>
BalancerMember http://127.0.0.1:5601
BalancerMember http://127.0.0.1:5602
</Proxy>
ServerName max
#
input {
stdin {}
}
filter {
grok {
match => [ "message", "\[%{TIMESTAMP_ISO8601:timestamp}\]\[%{DATA:loglevel}\]\[%{DATA:logtype}\] \[%{DATA:node}\] \[%{DATA:index}\]\[%{DATA:shard}\] took\[%{DATA:took}\], took_millis\[%{NUMBER:took_millis:int}\], types\[%{DATA:types}\], stats\[%{DATA:stats}\], search_type\[%{DATA:search_type}\], total_shards\[%{NUMBER:total_shards:int}\], source\[%{DATA:source_query}\], extra_source\[%{DATA:extra_source}\],"]
}
date {
match => [ "timestamp", "ISO8601" ]
@PhaedrusTheGreek
PhaedrusTheGreek / sense.ioexception
Last active March 21, 2016 17:09
Shards reported still started, however when you try to search, you get this...
CAT shards (looks ok):
index shard prirep state docs store ip node
.marvel-es-2016.03.17 0 p STARTED 127.0.0.1 Allison Blaire
.marvel-es-2016.03.17 0 r STARTED 714 347.4kb 127.0.0.1 Colossus
twitter 3 p STARTED 127.0.0.1 Allison Blaire
twitter 3 r STARTED 0 159b 127.0.0.1 Colossus
twitter 2 p STARTED 127.0.0.1 Allison Blaire
twitter 2 r STARTED 1 3.7kb 127.0.0.1 Colossus
twitter 1 p STARTED 127.0.0.1 Allison Blaire
@PhaedrusTheGreek
PhaedrusTheGreek / hs_err_pid37976.log
Last active February 14, 2017 03:22
Crash report - Removing Pendrive during indexing
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x00000001036525f0, pid=37976, tid=37391
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# v ~StubRoutines::jlong_disjoint_arraycopy
#