#logstash

/

      • antulik joined the channel
      • kaspergrubbe joined the channel
      • abe joined the channel
      • abe has quit
      • msf has quit
      • msf joined the channel
      • rdw200169 joined the channel
      • blalor has quit
      • feylya joined the channel
      • feylya has quit
      • StarBeast joined the channel
      • blalor_afk joined the channel
      • blalor_afk is now known as blalor
      • paradoxbound joined the channel
      • darkelda joined the channel
      • madAndroid joined the channel
      • Wolfsrudel
        simmel: how familiar are you with logstash and graphite?
      • e1mer joined the channel
      • e1mer has quit
      • e1mer joined the channel
      • pablo__ joined the channel
      • simmel
        Wolfsrudel: Not at all I'm afraid.
      • key value pairs go in, graphs go out! Magic! ; P
      • Wolfsrudel
        ok, i'll wait for electrical :)
      • i need some kind of uber-magic :D
      • "uber" meaning super-power-high-definition
      • sort of
      • need coffee
      • http://explainshell.com/ <<< this is cool
      • logstashbot
        Title: explainshell.com - match command-line arguments to their help text (at explainshell.com)
      • nikitosiusis has quit
      • ptrf
        ehlo :-) I'm looking at outputs for elasticsearch - we have quite a number of messages passing through our system, so I would like the elasticsearch output, but only against ES 0.90, becasue that's what our ES cluster runs
      • swkide
        Ca Kibana 3 show the Stream Panel from former version?
      • antulik has quit
      • Can Kibana 3 show the Stream Panel from former version?
      • ptrf
        yes
      • swkide
        elasticsearch_http
      • antulik joined the channel
      • ptrf
        index.html#/dashboard/file/logstash.json
      • swkide
        ptrf, elasticsearch_http - that is what I try also
      • ptrf
        swkide: but there are two issues
      • first, what if one of our cluster nodes go down? Ideally I need a reverse proxy infront
      • swkide
        agreed
      • ptrf
        and also, I dont really like the overhead of one tcp handshake per messages, when there's a lot of messages comming in
      • Wolfsrudel
        ES is clustering und proxying itself, isn't it?
      • swkide
        as far as I understand, they donÄt make a session per line
      • ptrf
        hum hum, is it streaming?
      • Wolfsrudel: yes, the elasticsearch output opens up an elasticsearch instance and joins the cluster
      • swkide
      • logstashbot
      • phrawzty
        Wolfsrudel: the host field of the elasticsearch_http plugin accepts a string value, not an array.
      • ptrf
        as I understand it
      • stonith has quit
      • phrawzty
        Wolfsrudel: so if the target ES node becomes unavailable, then what ?
      • ptrf
        exactly
      • swkide
        yes, but now you can use the "Power" of http loadbalacing and proxying and so
      • ptrf
        now, do I have to downgrade our ES cluster or should I have a more loose interpretation of the version note
      • ?
      • phrawzty
        basically, if you're using the elasticsearch_http plugin, you probably want to point it at an LB in front of ES.
      • hawi_ has quit
      • Wolfsrudel
        so the es_http isn't clustering like the es output?
      • s/like/as
      • swkide
        logstash has an internal ES client, which only talks to cluster up to 0.20.5 I think
      • antulik has quit
      • phrawzty
        swkide: 0.20.6
      • swkide
        phrawzty, thx
      • phrawzty
        Wolfsrudel: no, the es_http speaks http (hence the name)
      • Wolfsrudel: the es speaks es.
      • Wolfsrudel
        yeah
      • ptrf
        I want es, but version 0.90
      • phrawzty
        Wolfsrudel: and http isn't a cluster-aware protocol, so...
      • Wolfsrudel
        hm, didn't know that. i only have one node, so it's not that critical
      • ptrf
        maybe it's a TIAS
      • phrawzty
        ptrf: then put an LB in front of it.
      • Wolfsrudel
        but whack mentioned that 0.90 should work too... maybe with logstash 1.2
      • phrawzty
        ptrf: haproxy works (i've tested this exact scenario)
      • rdw200169
        i agree, though the http client proves quick enough
      • phrawzty
        ptrf: i've heard of people using nginx to do the same.
      • rdw200169
      • logstashbot
        Title: dotcloud/hipache · GitHub (at github.com)
      • io_syl has quit
      • swkide
        Who again said kibana 3 can show the stream panel of former versions - could you please tell me how
      • phrawzty
        there are always options :)
      • Wolfsrudel
        nginx is awesome
      • rdw200169
        swkide: are you talking about a live streaming table of new entries?
      • swkide
        rdw200169, yes
      • rdw200169, how many logrows are entred per seconde in my case
      • rdw200169
        well, all things considered, elasticsearch doesn't really work like that, so there was probably some backend processing going on on the server
      • since kibana3 is all js and html, there is no backend processor, so you just graph/table/term what you want, and set the relative time to a sensible value and tell it to refresh every few seconds
      • for example (we use elasticsearch for much more than logstash) I use kibana 3 to show me a pretty real-time chart of indexed items per day/hour/minute (etc..) depending on how far I want to go back
      • mrchrisadams joined the channel
      • you just have to be somewhat careful b/c the resolution of data will affect the results from the facet query against elasticsearch
      • feylya joined the channel
      • losh joined the channel
      • mrchrisadams
        hi peeps - this is quick qn, but I couldn't find an answer on the docs page for logstash. I'm not familiar with threads or Jruby, so this may be a silly question, but are outputs nonblocking when they are run on log entries with logstash?
      • rdw200169
        It looks like, at least for charting, that the date_histogram facet will only return at least 1minute resolution (not 1 second): http://www.elasticsearch.org/guide/reference/ap...
      • logstashbot
      • mrchrisadams
        I want to find a way to log some events to an instance of Piwik over it's HTTP API, but I'm not sure if this would be a terrible idea performance wise
      • swkide
        ok cool, that is enought
      • ok cool, that is enough
      • thx a lot rdw200169
      • Tokeiito
        the most anoying thing in processing logs are date formats
      • rdw200169
        swkide: if you want higher resolution, look at the graphite output; graphite can get you realtime metrics on your data ;)
      • swkide
        rdw200169, sure - we have a running graphite also, but that is next step ;-)
      • Tokeiito
        damn apache uses two different formats. one for access other for error. i'm afraid to think what i will get when will start processing syslog where logs comes from tons of other services.
      • rdw200169
        Tokeiito: you're preaching to the choir on that one, I'm currently in the process of refactoring <everything> to use ISO8601 for my/our sanity's sake
      • stackedsax has quit
      • phrawzty has quit
      • Tokeiito: figuring out how to trick logstash into correctly parsing PST/PDT timestamps from a timestamp was not a fun task, all because someone chose 'z' instead of 'Z' when setting the timestamp formatting *grumble*
      • Tokeiito
        uff i feel you
      • phrawzty joined the channel
      • daks_ joined the channel
      • daks_
        hello
      • i wonder how logstash filters are evaluated, in which order
      • is the order in the description the order in which they are executated?
      • rdw200169
        daks_: according to the docs, the filters are applied sequentially: http://logstash.net/docs/1.1.13/life-of-an-event
      • logstashbot
        Title: logstash - open source log management (at logstash.net)
      • daks_
        yes in fact, thanks for the link
      • so i'll use "order" directive in puppet-logstash
      • rdw200169
        daks_: you can use tags, though, to control execution, such that every event that passes thru a logstash filter config only 'hits' the filters they need to; you can add tags while filtering, which means you can have sub-filter statements that only filter events based on criteria set in a previous filter
      • paradoxbound has quit
      • daks_
        ok
      • techn0gichida has quit
      • hawi joined the channel
      • antulik joined the channel
      • Tokeiito
        whats the way to put name on such expression: ${WORD}.${word}.${WORD} ?
      • gyre007 joined the channel
      • i need to name all this group
      • or is is the only way throw custom patterns?
      • paradoxbound joined the channel
      • techn0gichida joined the channel
      • ggoZ joined the channel
      • hawi has quit
      • supersheep joined the channel
      • found it
      • nikitosiusis joined the channel
      • (?'vhost'%{WORD}.%{WORD}.%{WORD})
      • blalor has quit
      • koendc has quit
      • simmel
        Tokeiito: It's called named group captures, see http://www.regular-expressions.info/named.html
      • logstashbot
        Title: Regex Tutorial - Named Capturing Groups - Backreference Names (at www.regular-expressions.info)
      • gasbakid joined the channel
      • blalor_afk joined the channel
      • blalor_afk is now known as blalor
      • hawi joined the channel
      • kaspergrubbe has quit
      • antulik has quit
      • antulik joined the channel
      • antulik has quit
      • Infin1ty joined the channel