Title: Full java process /usr/bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX: - Pastebin.com (at pastebin.com)
torrancew
ah, 5.0alpha?
Simon_k
rastro: sop far that has not affected me but its possible
torrancew
could e a bug or that the flag has changed
cliles joined the channel
rastro
Simon_k: in your example, you had msg="xxxxxxxx " which would technically fail.
torrancew
ghanima: try setting the JVM opts you want directly via "LS_JAVA_OPTS"
ghanima: it looks like this is changing come 5.0
xeorex has quit
rastro
Simon_k: so i take back my recommendation for kv{} :(
Simon_k
rastro: Ah I see, so then my non-empty quotes will fail as well.
rastro
Simon_k: "foo" is fine. "foo bar" will break.
Simon_k
Ah got it.
ghanima has quit
rastro
Simon_k: and since gsub is broken, i think that leave you ruby{}.
Simon_k
Then I am not really sure how to parse this log. Especially since there are fields which are not in every log, and the log length differes.
That is one issue I have not been able to figure out in Logstash, how to treat logs that are not always the same.
fatdragon joined the channel
rastro
Simon_k: kv{} is normally a good solution for that, if you have a good separator.
Simon_k: e.g. urls with "&"
mspo joined the channel
Simon_k
I will look into this. can kv{} only be performed if there is an = sign present?
fabiobat_ has quit
hugh_jass has quit
ghanima joined the channel
hugh_jass joined the channel
ghanima
torrancew: sorry had to reconnect did you have a chance to look at my pastebins
fabiobatalha joined the channel
niklasye joined the channel
rastro
Simon_k: you can change the separator with value_split.
Simon_k
awesome. I really appreciate your help. I am still wrapping my head around the parsing. I will look further into this.
mhickey joined the channel
fabiobat_ joined the channel
atlas__ has quit
rastro
Simon_k: sorry there wasn't better news. too many open bugs.
fabiobatalha has quit
Simon_k
yeah, looking forward to an update :)
datajunkie has quit
atlas__ joined the channel
aconite33 joined the channel
aconite33
I'm having difficulties using winlogbeat via logstash.
I keep running into these two errors:
ERR Failed to publish events caused by: EOF
ERR Failed to publish events caused by: read tcp
torrancew
ghanima: I looked at the 5.0 stuff and it seems the LS_HEAP_SIZE setting went away. Use LS_JAVA_OPTS and set your jvm flags directly.
ghanima
torrancew: thank you sir
Julinux has quit
torrancew
good luck
please report back if it works
(or doesn't
Simon_k has quit
jmg_ has quit
hugh_jass has quit
hugh_jass joined the channel
chakatz has quit
sarkis joined the channel
jmg_ joined the channel
sarkis
hey all - we are getting random failures connecting to logstash: 2016-06-28T20:35:16Z ERR SSL client failed to connect with: dial tcp X.X.X.X:5044: i/o timeout
it's happening on all of our filebeat procs... and its completely random
any idea on where to start debugging something like this?
iamchrisf joined the channel
mspo
sarkis: telnet?
torrancew
not gonna help much with ssl. s_client maybe
sarkis
the issue is that its intermittent
mspo
io timeout sounds more like a network connect error
torrancew
but often that points to some part of the pipeline taking too long
sarkis
i just noticed we are using logstash-input-beats 2.0.3
torrancew
filebeat waits for LS to ack each batch, unless the timeout fails. Sounds like the timeout is failing
Title: src/net/net.go - The Go Programming Language (at golang.org)
Dambles
where is the default patterns dir for logstash if I installed from a .dep?
torrancew
mspo: sure, though that's not particularly useful data
fenris02 has quit
mspo
torrancew: neither is the error message
torrancew
Not contesting that
iamchrisf
Is there a way to parse tags and use them as vars? ie. path => “logpath/%{TAG1}/${TAG2}/etc.log
mspo
is logstash jumping version numbers?
torrancew
iamchrisf: "tags" is an array. No clever tricks available on it, what you describe is more like a "normal" field
mspo: clarify?
mspo
from 2.x to 5.0?
torrancew
ah, yeah, all ELK products are going to converge ona shared version
and kibana already went up to 4
so they all had to go to 5
iamchrisf
torrancew: yea i was wondering how I can reference the individual elements in the array
torrancew
you can index in, I think
but nothing fancier than that
[tags][0] maybe
"%{[tags][0]}"
iamchrisf
torrancew: yea I think that will work.
Going to give it a shot. thanks
yardenbar has quit
torrancew
good luck!
Gen joined the channel
sarkis
ah ok u guys are right looking at hte logs...
{:timestamp=>"2016-06-28T20:58:18.304000+0000", :message=>"Beats input: the pipeline is blocked, temporary refusing new connection.", :reconnect_backoff_sleep=>0.5, :level=>:warn}