Hey All, any suggestions for how to use logstash? I’m debating between sending ALL logs to logstash and filtering with kibana vs only sending select information to the logstash server. Which model do most people use?
attractiveape
spuder: I
I'd advise starting small and getting the grokking right before you grow how many logfiles it manages
spuder
I’ve got 1 machine sending the entire auth, and apache logs to logstash. I plan on adding about 30 other machines. Do you filter before or after the logs go out?
savant2 joined the channel
duck_tape joined the channel
attractiveape
spuder: you can decide on that really, in my design I filtered on the shipping instance
joef has left the channel
sk1pper joined the channel
spuder has quit
spuder joined the channel
cookiedavis has quit
nikitosiusis joined the channel
waltertv
hey everybody, could someone possibly suggest a shipper that can ship entire log files to logstash? I have lumberjack set up right now but I don't believe it can send logs that have already been written.
smerrill-offline is now known as smerrill_
unterfeed_ls joined the channel
matanya has quit
attractiveape
waltertv: I think you can pipe the preexiting files into logstash-forwarder for the initial shipping (cat log | logstash-forwarder ...)
waltertv: but I haven't used logstash-forwarder much
smerrill_ is now known as smerrill
waltertv
thanks attractiveape, I didn't think of just directly sending it in
tjj joined the channel
attractiveape
waltertv: let me know if that works, glad to help
behrendsj joined the channel
stanlemo_ joined the channel
cjs226 has quit
stanlemon has quit
kjstone00 has quit
duck_tape has quit
sprachgenerator joined the channel
Cyis|afk is now known as Cyis
duck_tape joined the channel
eper joined the channel
ros_ joined the channel
matanya joined the channel
ktosiek_ joined the channel
spuder
What would a grok pattern look like for when a user ssh-es into a machine?
ktosiek has quit
shoerain
spuder: wouldn't that be in /var/log/auth.log ?
gmcwhistler has quit
gmcwhistler joined the channel
spuder
yes, but I don’t want every line in the auth.log, just when a user connects
stanlemo_ has quit
shoerain
spuder: so I guess something to capture this line? : "sshd[19650]: pam_unix(sshd:session): session opened for user vagrant by (uid=0)"
spuder: I can't help now, but if you're around in a few hours, we could talk
spuder
This is the line I’m trying to write a grok pattern for. Surely I’m not the first person to try and write it.
May 1 16:25:23 foosball sshd[24657]: Accepted publickey for sowen from 10.1.5.33 port 63462 ssh2
scalp42 joined the channel
thanks shoerain, I’ll follow up later
Chepra has quit
tjj has quit
Chepra joined the channel
shoerain
coolacid: you've got a neat set of examples in your gettingstartedwithELK
in the sysV init.d script what process is the startup script looking for to get the java command?
behrendsj joined the channel
JscoLP joined the channel
JscoLP
Hi All, any idea why I am getting "load error: win32ole/win32ole -- java.lang.UnsatisfiedLinkError:"?
pheaver joined the channel
grep4master has quit
ggl
JscoLP: it looks like windows OLE doesn't like something in the logstash library
dharknes joined the channel
lostcuaz has quit
or the jruby library
Ambrose
Hi, I'm getting an error from elasticsearch about 'failed to start shard/failed to recover shard' and am wondering if anyone can recommend what I can do to fix it? Full log at http://pastebin.com/gc5Ru415 - Thx :)
ggl: I am running a basic install on fresh ubuntu 12.04 x64. I am trying to use the eventlog plugin, and have installed the contribs as per the install guide
pedroid
Is the current logstash-event gem v1.2.02 compatible with 1.4.x or 1.3.x?