#logstash

/

      • davecore82
        " on the command line. The /opt/logstash/bin/logstash file is itself the original Logstash bourne shell script. Does anyone already have an init script?
      • kimchy joined the channel
      • untergeek joined the channel
      • ohlol joined the channel
      • Sauvin has quit
      • colinsurprenant has quit
      • robodwyer
        is there any way to pass environment variables into a logstash config? It would be really helpful for parameterizing them.
      • rekibnikufesin
        davecore82: did you install from the repo, or the tar.gz?
      • robodwyer
        right now it seems like I'm hardcoding everything, from file paths to connection details, which is pretty painful
      • kimchy has quit
      • davecore82
        rekibnikufesin, from the .tar.gz
      • rekibnikufesin
        davecore82: try from the repo: http://logstash.net/docs/1.4.2/repositories — I haven't used the yum repo, but the apt repo includes init scripts in the package
      • logstashbot
        Title: logstash - open source log management (at logstash.net)
      • plasmony1 has left the channel
      • rekibnikufesin
        I would imagine the yum repo is similar
      • plus you get the other benefits of using repos for management
      • davecore82
        rekibnikufesin, ok thanks I'll look at the repos
      • rbartl has quit
      • juarez has quit
      • muzammil has quit
      • plasmony1 joined the channel
      • JDShu
        hmmm anbody know if there's a way to make elasticsearch balance shards on the most recent index?
      • plasmony1 has left the channel
      • FortySix2 joined the channel
      • savant joined the channel
      • untergeek
        "make"?
      • JDShu: in what way?
      • Elasticsearch should automatically balance shard count between nodes
      • unless you've deployed settings to force-route data to specific shards, they should be fairly evenly sized amongst themselves too
      • jeffr76__ has quit
      • ronnocol
        untergeek: how are things?
      • untergeek
        Just wrapped up two days of training in Minneapolis
      • jeffr76_ joined the channel
      • maraca has quit
      • Did private Elasticsearch training at a company there
      • ronnocol
        untergeek: nice; However, I could think of better places to be than Minneapolis
      • untergeek
        it was actually really pleasant this time of year
      • and the Elasticsearch Meetup we did last night was awesome
      • one of the best I've ever been to
      • ronnocol
        Well, the weather in general has been kinda screwed up kind of around the country, so I heard the mid-west is experiencing fall like temps lately
      • Nr18 has quit
      • untergeek
        cooler than the 90°F weather I've been experiencing in Texas :)
      • ronnocol
        Do you happen to know off hand what the highest version of server that an 0.90.7 native client can talk to is? We have some developers that decided they weren't going to upgrade their cluster, and then when I went to put the code into staging (on a 1.3.1 server) it's all ... uhm, nope. And I'm refusing to install a server that is < 1.2 and they are complaining that the APIs in 1.3.x .jar are different enough to break their code....
      • juarez joined the channel
      • Coolacid[cloud]
        ronnocol: tell them to implement bulk http inputs or use logstash =p
      • (Cuz I’m evil like that) ;)
      • torrancew
        ronnocol: 0.90.x has to talk to 0.90.x, and even then, there was a version that couldn't talk to other 0.90.x versions
      • ronnocol
        Coolacid[cloud]: yes, well, this isn't for logstash, this is for actual search like things, and I would have typed /join #elasticsearch, but most of the people there are here so I opted for the less typing route :)
      • Coolacid[cloud]
        meh, if I was going to complain, I would have =p I was more making a dev joke :)
      • You mean people use elasticsearch for SEARCH?
      • Wow.. who knew ;)
      • (I’m in a mood)
      • ronnocol
        torrancew: That's what I thought... so now the question becomes in which 1.x version did the APIs become different enough to require massive re-work vs. a little re-work
      • Coolacid[cloud]
        VacationMode, Defcon, VacationMode and possible happy dance ;)
      • torrancew
        Coolacid[cloud]: hitting BH as well, or just DC?
      • Coolacid[cloud]
        I’m staff @ BH
      • jiuweigui joined the channel
      • torrancew
        oh, that's right. pretty sure we talked about that.
      • Coolacid[cloud]
        yep :)
      • torrancew
        sorry. There's not enough caffeine in the world to compensate for my brain today.
      • jeffr76_ has quit
      • Coolacid[cloud]
        Aagin - VacationMode ;)
      • torrancew
        :)
      • jeffr76_ joined the channel
      • Coolacid[cloud]
        Left $work stuff at home, and killed $work email on ipad.. but, I can’t stay away from ES stuff. ;)
      • torrancew
        :)
      • already en route to LV/there?
      • whack
        weee
      • Suyog's working on some grok perf improvements. Currently we've got a 47% perf improvement
      • (it's nearly twice as fast)
      • percentages are stupid. silly me :P
      • and we're working on even more changes that should help improve perf by more than that as well
      • torrancew
        they are, that
      • davecore82
        so I installed the logstash RPM from the logstash repo, but when I try to start logstash it says it started but then it seems like it dies instantaneously and in /var/log/logstash/logstash.err I have the message chroot: invalid option -- -
      • torrancew
        davecore82: RHEL 5?
      • davecore82
        yes
      • torrancew
        or CentOS 5
      • there's an open issue for that
      • davecore82
        RHEL 5
      • jeffr76__ joined the channel
      • ronnocol
        missed an l in that OS name
      • swc|666 has quit
      • davecore82
      • logstashbot
        Title: [LOGSTASH-2225] Logstash 1.4.x init script "deficiencies" - logstash.jira.com (at logstash.jira.com)
      • torrancew
        ya, I believe so
      • Coolacid[cloud]
        Silly aunt’s network not letting me send email on port 25.. House VPN to the resuce! :)
      • Oh gawd, not RL%
      • RL5
      • Please let it die.. please.
      • davecore82
        not gonna happen :S
      • jeffr76_ has quit
      • wilmoore has quit
      • maraca joined the channel
      • Coolacid[cloud]
        PR specificly for CentOS/RHEL5 — The problem is RHEL is old and busted. https://github.com/elasticsearch/logstash/pull/...
      • logstashbot
      • Coolacid[cloud]
        RHEL5 is old and busted.
      • davecore82
        RHEL5 is what the cool kids use
      • Coolacid[cloud]
        So, after vacation mode I need to look at my PR to fix GOOD Linux versions, and mix that in with RHEL detection in the script.
      • RHEL5 needs to DIAF
      • :)
      • whack: Not logged into Github, can you assign that PR to me so I can look at it and try and come up with a good “mix”
      • Sketch
        anyone tried RHEL7 yet?
      • swc|666 joined the channel
      • swc|666 has quit
      • swc|666 joined the channel
      • torrancew
        shoerain: ping re: #1572
      • dvl joined the channel
      • Coolacid[cloud]
        Same file, diffent bug: https://github.com/elasticsearch/logstash/pull/... — I need to merge those two “fixes” and document the problems with running RHEL5 apps
      • logstashbot
      • Coolacid[cloud]
        Specificly, chroot and sudo can’t be run in tandum - as such, in RHEL5 you can have sudo, but not chroot.
      • ronnocol
        ok, I guess I'll go get some lunch and figure out how I'm going to tell the developers that they have unplanned work to do because they were to lazy to type "yum update elasticsearch" on their dev cluster
      • jpyth
        yum is hard
      • JDShu
        untergeek: it balances total shards, but not shards per index
      • dvl
        I'm searching for a list of logstash patterns (e.g. NUMBER, WORD, URIPATHPARAM) but I'm faililng. clues please?
      • jpyth
      • JDShu
        (sorry was away from the computer when you replied)
      • logstashbot
        Title: Grok Debugger (at grokdebug.herokuapp.com)
      • jpyth
        i think there is some github pages too with the list, but that tool is very useful if you've not used it.
      • untergeek
        JDShu: What do you mean by balance shards per index? You want a certain number of shards from index A on each computer?
      • JDShu
        untergeek: yeah
      • untergeek
        ah
      • you have to set a template option for that
      • dvl
        jpyth: wonderful. thank you.
      • untergeek
        "index.routing.allocation.total_shards_per_node" : #
      • JDShu
        untergeek: I have a ton of logstash data hitting my cluster, today's index happened to sharded in such a way that they're all on the same few machines and now elasticsearch has fallen over
      • untergeek
        this setting will distribute them, but only for new indices created.
      • JDShu
        sweet, that sounds like exactly what I need, thanks!
      • jpyth has quit
      • untergeek
        you could also use rack awareness
      • jpyth joined the channel
      • kimchy joined the channel
      • FortySix2 has quit
      • to guarantee that shards and replicas are in different "racks" (real or virtual)
      • davecore82
        the PR #1555 works for me
      • RHEL5 can live on!
      • JDShu
        not too sure how to set that in ec2
      • Coolacid[cloud]
        Oh.. untergeek that’s what I was going to ask you — (and I won’t even think about it right now) how would I modify LS template to default a tag require (in Elasticsearch) — IE: the shard allocation tag.
      • Vish__ joined the channel
      • Vish__ has quit
      • Also - does the LS template handle subfields (per the convo in GSwithELK)
      • Vish__ joined the channel
      • davecore82:
      • grr.r.
      • davecore82: yes, it would work - but it reduces security for those of us with non RHEL systems :) So, I need to figure out a clean way to detect RHEL5 and build the correct command.. (or better, would be to have an EL5 rpm — hint hint whack )
      • :)
      • jpyth has quit
      • jpyth joined the channel
      • davecore82
        Thanks guys
      • santosha_ joined the channel
      • santosharakere joined the channel