why ship from a file to LSF to LS to a file then to LS then to ES?
why not use rsyslog to send to a central instance, then let LS process that
poswald joined the channel
but ultimately it's up to you
nikitosiusis has quit
Mixologic
because I want to run filters > ES, but no filters > archive.
hulu1522 has quit
warkolm
then use the central rsyslog as your archive
then you don't even have to worry about pushing the data through LS
k001_ has quit
Mixologic
through LS or through LSF? I'd like to use LS's filtering language to get the data into elasticsearch. Some of our syslog data is awful, and needs work before it can be useful.
nikitosiusis joined the channel
jabroney1
Mixologic: I think he's saying use both. rsyslog for your originals and logstash for the features you want.
viq has quit
Mixologic
jabroney1: yeah, thats what I was confirming rsyslog to do the transport and storage on the loghost (replacing our current syslog-ng), then logstash read from files, as it does now.
kpike has quit
warkolm
lol
then yeah, we are talking about the same thing
Mixologic
cool. I wasnt sure if LSF would work better than rsyslog and RELP, or be a replacement for it.
warkolm
it's an alternative
jabroney1
Mixologic: +1 what warkolm is saying
virusuy has quit
Mixologic
and sounds like that rsyslog would be the easier alternative.
pu22l3r_ joined the channel
idwer_ joined the channel
viq joined the channel
cyclonis
has anyone got email with with logstash
im trying to catch certain alerts and send an email out
?
idwer has quit
mburns joined the channel
aiRness_ joined the channel
whack
you can use rsyslog instead of logstash-forwarder if you: 1) already know rsyslog, 2) don't need security, or 3) already have rsyslog doing something else even if you don't know it but dont' want to install anything else
whack but we really dont know rsyslog any more than we know logstash-forwarder.
rwhavens has quit
aiRness has quit
idwer_ is now known as idwer
whack
I don't remember how rsyslog behaves under network problems with the relp protocol, but it's something you'll want to research
lsf focuses on secure, reliable, bandwidth-friendly transport of data
Mixologic
whack: my concern is that lsf would be reformatting the data to put it into logstash - ie. making it json before we wanted it to.
we've got stupid things in our syslogs, like carriage returns in the middle of fields, so ideally it would just do straight transport if we wanted.
k001_ joined the channel
whack
Mixologic: lsf doesn't reformat anything
k001_ has quit
kjstone00 joined the channel
but it is line oriented (as is rsyslog)
lsf also only delimites messages on line feeds, not carriage returns.
which is perhaps not the best behavior given osx (\r), windows (\r\n), and unix (\n) systems all use different line terminators
tchiang has quit
jkitchen
thought osx switched to \n?
whack
jkitchen: it depends on the program :(
some programs use \n, some use \r still
FileMaker Pro, for example, still uses \r
jkitchen
weak
kangguru is now known as kangguru_away
duck_cpd has quit
intransit joined the channel
maxim111 joined the channel
iamchrisf joined the channel
maxim111
hey guys hopefully a quick q. trying to take log records from elasticsearch through logstash to perform geoip. I need it to replace documents. Whats the ES output's 'document_id' field?
something like document_id => "%{_id}" ?
that is, in the logstash config
fev3r101 joined the channel
MartinCleaver joined the channel
duck_cpd joined the channel
duck_cpd has quit
aiRness_ is now known as aiRness
mdelnegro has quit
fullerja joined the channel
jer_ joined the channel
poswald has quit
behrendsj has quit
whack
maxim111: I don't know if that's possible in logstash 1.4.2
but we added support for it for 1.5.0 beta1 I think
maxim111
ok thats too bad. so basically the elasticsearch input in logstash doesn't expose the document _id to be used as a variable?
whack
maxim111: in 1.4.2 I don't think so, as said, in 1.5 I'm pretty sure we fixed that
maxim111
ok cool. i might try the beta then. do you know how to refer to that variable? "%{_id}" like i wrote above?
doesn't seem like that beta build has all the plugins as it fails with my config file. doesn't look like it's built the same way as the stable release. i'll just wait until it's released i guess
warkolm
what plugins
mind you with 1.5 there is a change to the way plugins work. you can install things individually now rather than all or nothing
rwhavens has quit
targui has quit
Adobeman has quit
mepholic
i blew up my logstash server accidentally a while ago due to lack of proper documentation :(