MrGuga: RELP is rsyslog's custom protcool, sorry for the confusion :(
MrGuga
google skills failing me =(
topwobble has quit
is there a plugin for 3195?
coolacid
whack, ok, so is there a good example of something forked within a logstash plugin? I need to interval something, but the IRC plugin has the blocking pop.
MrGuga
says at the wikipedia that rfc 3195 is implemented in logstash, that's the source of my confusion
"While RELP is still not formally standardized, it has evolved into an industry standard for computer logging." is ... false
I don't know anything but rsyslog that uses RELP
logstash only supports it because rsyslog is shipped with RHEL
MrGuga
well maybe I could somehow use rsyslog to transcode from relp to redis, but i wonder if it's worth the time...
coolacid
MrGuga, I've had no problem with strait syslog from my fortigates, ofcouse I don't expect 100%..
and, now that I think about it, it goes though some fortianalyzers (not my choice)
Edgan has quit
MrGuga
Is there anything I could do to make sure I'm not losing packets? it's UDP after all...
topwobble joined the channel
kimchy has quit
coolacid
MrGuga, via Fortigates?
whack
it might support syslog over tcp
coolacid
how many fortigates do you have?
MrGuga
one cluster
whack: afaik, tcp only with RELP.
whack
MrGuga: you mean rfc 3165, right?
MrGuga: for now, I have no great solutions. Logstash does its best not to drop udp :P
we can probably implement RFC3165 though
coolacid
MrGuga, ok, looked at my fortigates -- If you only have one, then an Analyzer isn't going to do you any good. ;)
And, it's only UDP anyway
MrGuga
lol yeah
coolacid
I don't see where you get the open for RFC3165 tho.
None of mine show that as even an option
MrGuga
whack: is it that easy?
coolacid: maybe it's only on cli
whack
MrGuga: I haven't read the protocol (RFC3165) but adding support for new inputs in logstash is pretty easy (in my opinion, which is skewed because I write lots of them)
kanarip has quit
coolacid
That's possible. I don't usually deal with the fortinet gear unless i'm on call ;)
kimchy joined the channel
frodopwns has quit
athoune has quit
MrGuga
whack: Well, for a first timer probably will take a couple of days to get it working. I can't afford it. I'll hope all packets are just arriving, if something gets suspicious I'll get another machine just to receive udp and queue to redis.
whack
MrGuga: wasn't suggesting you had to do it, for sure I would expect a few hours or days to get something like this working on your own, especially the first time. :)
MrGuga: why would you queue to redis?
coolacid
or the 6th time ;)
whack
udp doesn't necessarily drop because there receiver drops it
MrGuga
btw, to grok a string followed by ":" should i use "%{NOTSPACE:field}:" ? or is there something better?
athoune joined the channel
whack
MrGuga: that's probably OK
alternate, if confusing, syntax for things specifically like that
LSTester joined the channel
(?<field>[^:]+):
captures [^:]+ to 'field'
kanarip joined the channel
where [^:]+ means 'any non-colon character'
MrGuga
whack: true... but since the receiver is a VM, i expect some I/O problems with high usage. Network is very well dimensioned so it wouldn't worry me.
kangguru is now known as kangguru_away
whack: thanks
jerius has quit
innate_ideas joined the channel
jmreicha_ joined the channel
coolacid
Ok - so new functions in IRC input "works" but because of blocking the stats don't fire without an event from the server
jerius joined the channel
cully
does anyone have any ideas on querying data like this: show me the top results of field_b grouped by field_a?
whack
coolacid: you can spawn a separate thread if you wish
More things we'll use in DR, but figured it would be good for anyone that wants it ;)
nemothekid has quit
walterheck joined the channel
jmreicha_ has quit
nemothekid joined the channel
tjr9898_ has quit
LSTester has quit
lennartkoopmann joined the channel
hoowe has quit
hoowe_ joined the channel
tjr9898 joined the channel
kanarip has quit
bnzmnzhnz has quit
LSTester joined the channel
MrGuga
if my message contains any macaddress, how can i grok it to a field? not all messages will have it, so should i just grok with the rest of the string as trash and remove failure tags afterwards, or is there a better way of doing it?
olebill has quit
kireevco joined the channel
bnzmnzhnz joined the channel
topwobble has quit
LSTester has quit
AndroidLoverInSF joined the channel
LSTester joined the channel
kanarip joined the channel
digin4 joined the channel
kireevco has quit
topwobble joined the channel
topwobble has quit
topwobble joined the channel
SJS has quit
LSTester has quit
rhollan
Hey, I've got what I think is a better syslog 5424 pattern match. Is anyone interesated?
whack
rhollan: yes indeed
the community wants one for sure :P
coolacid
that moment when you copy from git repo to working directory instead of the other way around.