#logstash

/

      • electrical
        okay.
      • then you could use it for doing that indeed.
      • huuggee has quit
      • gmast
        Hello, I have a question about the new release of Kibana milestone 3
      • Renaming 'logstash.json' to 'default.json' doesn't work.
      • sarkie
        perfect, thought so. not really looked into what kibana can do for me, just wanted to make sure i could use the tech
      • electrical
        gmast, fire away ( not sure if i can help you but will try )
      • gmast
        :D
      • I keep getting the introduction page.
      • blalor has quit
      • electrical
        gmast, you put those under the 'dashboards' dir /
      • gmast
        I think a found a bug.. Firstly, I renamed 'logstash.json' to 'default.json'
      • Then I refreshed. That didnt work.
      • Secondly I visited the url ... url/file/default.json
      • Then it worked
      • I worked only after I visited /kibana-master/index.html#/dashboard/file/default.json
      • Strange.
      • Thanks anyway :D
      • electrical
        hmm okay. bit strange. not sure if that's expected behaviour. perhaps ask rashidkpc when he's online
      • gmast
        Yea. I will.
      • blalor_afk joined the channel
      • blalor_afk is now known as blalor
      • marvin2 has quit
      • vks
        electrical : my question is match both pattern1 and pattern2
      • electrical
        vks, don't think that's possible.
      • vks
        electrical, ok
      • electrical
        euhm sorry. yo ucan do match => [ "@message", "%{pattern1} %{pattern2}" ]
      • you can add multiple small patterns into 1 match.
      • http://logstash.net/docs/1.1.13/filters/grok <-- like in the example parts
      • logstashbot
        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.
      • sagarv, http://cookbook.logstash.net/recipes/apache-jso... <-- example on how to do it ( this is for apache )
      • logstashbot
        Title: make apache log in json - logstash cookbook (at cookbook.logstash.net)
      • sagarv
        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 :-)
      • SKAR_
        thx
      • dpippen joined the channel
      • ok. cencerning logstah. did the tutorial http://logstash.net/docs/1.1.13/tutorials/getti... with the embedded elastic search server
      • logstashbot
        Title: logstash - open source log management (at logstash.net)
      • SKAR_
        when tryin to start logstah got "ava.io.StreamCorruptedException: invalid internal transport message format"
      • Maior
        what're people loving for shippers nowadays?
      • SKAR_
        seems like the embedded ES server isn't started. stacktrace on screen didn't help me.
      • electrical
        SKAR_, can you pastebin your config and startup commando?
      • SKAR_
        merci
      • conf: input { stdin { type => "stdin-type"}} output { stdout { debug => true debug_format => "json"}}
      • start command: java -jar logstash-1.1.13-flatjar.jar agent -f index.conf
      • electrical
        Maior, beaver is widely used. ( python ) or lumberjack ( C )
      • SKAR_
        the more simple sample without embedded ES worked fine.
      • kaspergrubbe has quit
      • electrical
        SKAR_, you only have the stdout config so no elasticsearch output ( and thus no embedded one )
      • dpippen has quit
      • SKAR_
        sorry.
      • pasted the wrong config
      • electrical
        hehe okay
      • please use pastebin.com or pastie for configs. saves allot of text on IRC
      • SKAR_
        finally I know pastebin ...
      • logstashbot
        Title: Here's the config file named index.conf: input { stdin { type => "stdin-type" - Pastebin.com (at pastebin.com)
      • electrical
        weird you are getting that error. which Java version are you running?
      • Maior
        electrical: cheers
      • sagarv
        Maior: one thing I've seen with beaver is quite a high cpu and memory load
      • still need to look into why
      • SKAR_
        sorry. I'm too stupid to paste console stuff to bastebin...
      • will try to paste the full sysout. just a moment.
      • logstashbot
        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
      • logstashbot
        Title: [Ruby] class diamond ($specific_collectors = ['TCPCollector', 'NetworkCollector'],){ - Pastebin.com (at pastebin.com)
      • sagarv
        antares_: running logstash-1.1.13-flatjar.jar
      • electrical
        sagarv, looking now