Title: logstash - open source log management (at logstash.net)
electrical
seems i'm not completely awake yet :p
marvin2 joined the channel
huuggee joined the channel
sagarv
for a new aplication (no log format decided yet) for which I want to send the logs to logstash, how should I format them? json or something the kv filter can parse
electrical
sagarv, if you want to do no parsing ( and its possible ) you could put it into json_event format.
electrical: yes, was just looking at that. looks like that would make most sense. thanks
electrical
np :-)
sagarv
hmm, noticed that kibana will require es 0.90 soon.
zimbatm joined the channel
eper
hope not log stash requires 0.2x
marvin2 has quit
Kiranos
eper: elastisearch_http
electrical
logstash 1.2.x will be working with ES 0.9x natively
eper
yeah but _http requires a IP/host
its not very good for a cluster
would need to put load balancer in place to make it use several nodes or use another node if specified is down/etc, ES client joins and knows about everything already
Kiranos
ok then you'll have to wait for 1.2
eper
yeah but 1.2 will be the way forward
Funks joined the channel
kimchy has quit
Gryffin has quit
sagarv
any time from on logstash 1.2?
ggoZ joined the channel
electrical
there is no ETA on it yet.
saurajeetd has quit
kimchy joined the channel
supersheep
if i have a grok pattern that matches my input perfectly on the grok testing herokuapp, but doesn't work in actual logstash, what the hell's going on?
SKAR_ joined the channel
SKAR_
Help!
(first time irc user :-)
electrical
fire away with your question(s) and some one will try to help you :-)
Title: Java version: java -version java version "1.6.0_26" Java(TM) SE Runtime Env - Pastebin.com (at pastebin.com)
Maior
do people run a lumberjack instance per source?
or One True Machine-Level Lumberjack?
electrical
SKAR_, okay. 1.6 is supported. so that should be fine as well.
not sure what's going on SKAR_
Maior, not sure tbh. never used lumberjack
did use beaver ( because of the redis output )
simmel
Anyone ever used rsyslog with the omprog module and a shipper like beaver or lumberjack?
sagarv
Maior: when I played with is one lumberjack per host
SKAR_
@electrial: thx
I think I skip the tutorial and try to do a proper setup
without the embedded es
electrical
okay :-)
if you have any questions, im usually here
sagarv
Maior: moved to beaver for amqp support (rabbitmq)
marvin2 joined the channel
Maior
trying to work out best way to handle app logs
really quite liked the idea of having my app packages drop config in `/etc/logstash.d` or similar
sagarv
we use puppet to deploy beaver (beaver support conf.d config loading style) then beaver -> amqp -> logstash. Nice way is that this way I can add per app tags in the beaver config
Maior
sagarv: ah it does? brilliant
electrical
sagarv, using my puppet modules? :p
Maior
lumberjack docs are a little light
*feel a little light
simmel
sagarv: Have you tried using redis as the middle cache? I'm curious on rabbitmq vs. redis for middle cache. (We use rabbitmq now for ESB-stuff)
sagarv
electrical: I wanted too but using foreman so I can't use defines
electrical
sagarv, ahh okay. to bad
marvin2 has quit
simmel
sagarv: Also, are you using HA on the queue? Persistance and durability? Any other setting that you've find that works wonders when using rabbitmq for logs?
electrical
From September on i have much more time to spend on the puppet modules. might spend some time to see if i can get it to work with foreman :-)
sagarv
I did use your module as a base though. greatly documented and I like the structure of your modules :)
electrical
Thank you :-)
simmel
sagarv: And are you mirroring your queues?
sagarv
electrical: plan to play around with it as well. found a way (not pretty) to kinda hack around the lack of defines
electrical
sagarv, okay :-) lets take a look at it somewhere in September. see if we can find out a way.
sagarv
simmel: at the moment a pretty basic setup. two rabbitmq nodes in a cluster, pubs and subs connects on a RR basis. I have however not done any of the fancy HA stuff, like queue monitoring
sorrym queue mirroring.
kevino has quit
Not sure if I want to go through the hassle of that to prevent loosing any log messages. I'm fine with loosing a few
electrical: sounds like a plan
simmel
sagarv: Ah, ok. Are they disc or ram replicas?
antares_ has quit
sagarv
simmel: disc
simmel
sagarv: It's always nice to be able to trust your logs. We have the trust problem now so we want to get away from that = /
kaspergrubbe joined the channel
Cool, thanks.
electrical
sagarv, i have a few idea's that i can think of but will need to look at foreman as well. haven't played with it yet :p
antares_ joined the channel
sagarv
simmel: yes you don't want trust issues :) you bring up valid points though and remind me having to look at more ha stuff for rabbitmq.
luisico joined the channel
simmel
sagarv: = ) rsyslog with relp is supposed to help too but I can't really understand if it buffers when it can't transfer the logs (but lumberjack does that AFAIK)
antares_
sagarv: are you using logstash master or 1.11.x?
EnriqueCadalso joined the channel
sagarv
electrical: for simple you can use a smart variable in foreman (I use an array) and then call a define function with that