modulusbass, use something like chrome where you can see network traffic..
(trying to find a guide)
ktosiek joined the channel
jason__
any way to add host field or ip address to file input plugin for generic logs
coolacid
modulusbass, basicly, use chrome, right click on page, Inspect Element -> Network Tab -> Refresh Page -- You'll see all the network requests and you can debug from there.
jason__
i'm just getting 0.0.0.0 I tried host even though it's not defined on the site as useable it didn't work
coolacid
jason__, No, input plugins happen at the begining of the pipeline, so there is nothing to add (per se)
modulusbass
yeah i can see where my connection is failing :) (failed)
net::ERR_CONNECTION_TIMED_OUT
jusdt trying to figure out WHAT could be blocking it
jason__
ah ok
coolacid
modulusbass, Using a proxy setting? and maybe the proxy can't access..
modulusbass
especially since i can call that url manually with curl
nope - no proxy, everything lives on the same box
gauravarora has quit
patarr
do you get better performance by declaring multiple inputs/outputs in a single logstash conf, or running seperate logstash processes?
coolacid
modulusbass, do you use a proxy to access the internet? If you do, it's possible the browser is trying to use that to connect to ES.
coolacid: so might as well just define them for one logstash process?
modulusbass
coolacid: hmmmm that just might be an issue.. checking
coolacid
patarr, correct - I would suggest splitting out input -> filter -> output and putting in a message queue (like rabbitmq) so you cache events between steps..
fubada
does anyone know how to do collectd_type:memory to show up properly on the kibana histogram
patarr
coolacid: not sure what you mean
fubada
particularly the x axis in GB
waltertv joined the channel
csd126
coolacid: Thanks for the blog post about making your own MaxMind-compatible dat database
papajuans has quit
waltertv
hi all, is there any way to have logstash ouput just the raw log line without JSON fields?
not sure you mean something like add_field { host => "192.168.4.197" }
coolacid
waltertv, which output... but you would want to use a codec => plain
waltertv
thanks csd126
patarr
coolacid: wow really? Any reasons why?
coolacid
csd126, that doesn't exist in some new versions and depending on the output.
csd126
Yeah, I should have asked what output he’s using
gster__ joined the channel
coolacid
patarr, what happens if you need to change a filter config? You start loosing some events if they are syslog/udp/network
waltertv
coolacid: i'm outputting to file
coolacid
waltertv, then look at the codec setting
waltertv
coolacid, i have the codec set to codec=> plain { charset => "UTF-8" }
gster_ has quit
coolacid
waltertv, try "line"
waltertv, csd126 is correct also, looks like there is a message_format config on file as well - try his suggestion
volter
jason__: Yes, isn't that what you want to do?
waltertv
thanks, coolacid. appreciate it
gster has quit
modulusbass
CoolAcid - thanks - though not the EXACT problem you ponted me to the real issue - AWS security groups, I made the mistake/assumption that queries to ES went from the server running kibana NOT the client - once i added our office nat ip to the securioty group port 9200 all works
patarr
coolacid: why would I lose events?
jason__
yea, not working but I think it might be my logstash process
one sec
modulusbass
CoolAcid- so thank you very much for kicking me in the right direction
aha! yea my logstash process is acting weird on a new machine I just turned up
baylight joined the channel
add_field => { host => "192.168.x.x" } worked
coolacid
patarr, right (that's what I was suggesting.. use RabbitMQ inbetween processes)
ktosiek has quit
patarr
coolacid: I have it like this. logstash sits on app machines, and just outputs without any processing to rabbitmq. Then the indexer machine grabs them off the queue using rabbitmq input, then filters with grok, then outputs to ES.
gster joined the channel
coolacid
patarr, yep.. that would work fine.
Cyis|mtg is now known as Cyis
volter
jason__: Ah, even better! :)
gster__ has quit
jason__
=D
artbikes joined the channel
pu22l3r has quit
DanielHolth
No statsd users here?
jgornick has quit
akahn has quit
lavaman has quit
akahn joined the channel
stonith
DanielHolth: what about it?
csd126 has left the channel
DanielHolth
I can't get it to produce udp packets in logstash 1.4.0
I went to build the latest I could find today with an existing build job and just changed the branch and it failed and then I went to look at it... and its not go anymore?