Commit graph

6066 commits

Author SHA1 Message Date
Jordan Sissel
fae8b92be9 Fix typo 2014-06-24 13:07:51 +00:00
Jordan Sissel
2c0f5a12f9 Fix missing require 2014-06-24 12:15:48 +00:00
Colin Surprenant
283b2b2745 Merge branch 'bump_142' into 1.4 2014-06-24 14:10:02 +02:00
Colin Surprenant
8e48bb11ec version bump to 1.4.2 2014-06-24 14:07:47 +02:00
Colin Surprenant
477c7f9879 changelog for 1.4.2 2014-06-24 14:07:39 +02:00
Colin Surprenant
5833145ce6 fix external command invocation 2014-06-20 16:29:32 -04:00
Jordan Sissel
1323e46ca5 Don't install development gems.
For whatever reason, the 'development' group is installed by default via
bundler. This was not intentiona.

The effect is that we might be unintentionally violating a dependency's
license (term-ansicolor is GPL2) by including it in our release.
Definitely do not wish such things.

With this patch, the next run of `bin/logstash deps` shows all dev
dependencies being removed:

    Removing coveralls (0.7.0)
    Removing docile (1.1.3)
    Removing kramdown (1.3.3)
    Removing rest-client (1.6.7)
    Removing simplecov (0.8.2)
    Removing simplecov-html (0.8.0)
    Removing term-ansicolor (1.3.0)
    Removing thor (0.18.1)
    Removing tins (1.0.0)

Fixes #1372
2014-05-22 18:13:49 -04:00
Philippe Weber
ea8af74c23 initial spec for pipe input
removed logging

fixed encoding header

closes 1385
2014-05-22 16:18:57 -04:00
Igor Urazov
186b6928ee Pass correct HOME env into chroot
Without this patch the logstash isn't able to start on Debian 7 when using file input, as both HOME and SINCEDB_DIR aren't set in chroot.
2014-05-22 14:54:08 -04:00
Colin Surprenant
ec2a180b86 fix stdin message handling & specs
closes #1386
2014-05-22 14:29:01 -04:00
Jordan Sissel
6480c9c89b Automatically choose most correct codec for bytestream inputs.
Now, if you try to use `plain` or `json` codecs with either `stdin` or
`tcp` inputs, it will automatically select `line` or `json_lines` codec
respectively.

Right now, many users try to use json codec with tcp input. This
*should* work, but due to technical limitations[1], it does not.
To compensate, we have always provided a json_lines codec to help
parse "streams of line-delimited json" which is what most folks
seem to be handling these days.

[1] I haven't found a JSON library capable of processing a byte stream.
Jackson has one, but it requires an input stream model which logstash
does not currently expose. Future work will make this possible.

Related: #1391
2014-05-20 19:22:24 +00:00
Aaron Mildenstein
59c4293ff1 Fixing relative path issues left over from flatjar era
Use plugin_path and pattern_path

closes 1377
2014-05-16 09:00:39 -05:00
Aaron Mildenstein
e049c58d0a Add NaN support back in to collectd codec
* Add spec tests for NaN support
* Catch warning on NaN with nan_handling set to warn
* Make lambdas ivars and initialize so they can reference other ivars
* Fixed reference to point to ivar
* Streamline ivar declarations in one method
* Improve tests to cover more cases
* Make lambdas not be ivars
* Change idiomatic calling of init_lambdas to reflect lack of return value

closes 1363
2014-05-14 14:53:59 -05:00
Colin Surprenant
81936e9f0d missing require
cosmetic

closes #1345
2014-05-08 18:21:35 -04:00
Jordan Sissel
bd507eba59 Merge pull request #1336 from colinsurprenant/export_cypher
exlude export_cypher tag in specs
2014-05-06 13:21:34 -07:00
Colin Surprenant
08a079fe6c exlude export_cypher tag in specs 2014-05-06 16:20:17 -04:00
Colin Surprenant
a0b5aa5df5 Merge pull request #1335 from colinsurprenant/version_bump_141
Version bump 141
2014-05-06 15:20:20 -04:00
Colin Surprenant
422503d451 use latest doc url 2014-05-06 15:14:22 -04:00
Colin Surprenant
c97845a91c bumped version to 1.4.1 2014-05-06 15:13:27 -04:00
Colin Surprenant
26efbe9b8f Merge pull request #1304 from colinsurprenant/changelog_v141
changelog for v1.4.1
2014-05-06 14:59:39 -04:00
Colin Surprenant
9231eff371 added spaces in path fix 2014-05-06 12:04:17 -04:00
Richard Pijnenburg
e8d297136a Merge pull request #1332 from coolacid/LOGSTASH-2166
Fix Date#Timestamp link
2014-05-06 16:14:37 +01:00
Richard Pijnenburg
f96aaee512 Merge pull request #1333 from electrical/package_acceptance_fix
Fix beaker node files due to variable name change
2014-05-06 15:59:42 +01:00
Richard Pijnenburg
313c0269fa Also add improved tests 2014-05-06 16:59:01 +02:00
Richard Pijnenburg
9d51e6744f Fix beaker node files due to variable name change 2014-05-06 16:54:33 +02:00
Jordan Sissel
655b7874b7 Merge pull request #1316 from colinsurprenant/spaceinpath
support for spaces in dir path of logstash installation
2014-05-05 13:49:18 -07:00
Colin Surprenant
7b1fef5d01 1.4.1 tentative release date 2014-05-05 15:37:32 -04:00
Colin Surprenant
e52cf72e69 cleaned changes not relevant to end users 2014-05-05 15:36:03 -04:00
Colin Surprenant
f8c0df8467 added changes in 1.4.1 2014-05-05 14:50:06 -04:00
Colin Surprenant
56225352f2 multiline filter not input 2014-05-04 18:18:26 -04:00
Colin Surprenant
649814b391 leftover 2014-05-03 11:45:34 -04:00
Colin Surprenant
a2373502c3 removed dependency on bash 2014-05-02 21:46:50 -04:00
Aaron Mildenstein
1a011db2fc Merge pull request #1101 from untergeek/collectd-untergeek
New collectd codec…
Better performance and raft of other fixes along the way!
2014-05-02 14:21:48 -05:00
Colin Surprenant
af3a952dd7 Merge pull request #1319 from coolacid/LOGSTASH-2165
[DOCS] Update irc input docs for password channels
2014-05-02 15:02:12 -04:00
Aaron Mildenstein
5b793bb4f6 Fix the same array path bug in the collectd input plugin (soon to be deprecated). 2014-05-02 13:46:49 -05:00
Aaron Mildenstein
f1397c37f8 Merge branch 'master' into collectd-untergeek
* master:
  Fix typo I somehow forgot to commit in the last PR
  Refacter known file lookups to a single method in LogStash::Environment
  Purge jar-specific handling that is not needed anymore.
2014-05-02 13:42:38 -05:00
Aaron Mildenstein
296851674c Refactored to use new vendor_path method. Fix array paths issue with streamlined types.db discovery 2014-05-02 13:40:10 -05:00
Jordan Sissel
ab3801a07f Merge pull request #1326 from jordansissel/fix-typo
Fix typo I somehow forgot to commit in the last PR
2014-05-02 11:26:28 -07:00
Jordan Sissel
ed0faf7c2e Fix typo I somehow forgot to commit in the last PR 2014-05-02 11:24:05 -07:00
Jordan Sissel
b1e1df4cc5 Merge pull request #1325 from jordansissel/purge-JRUBY-6970
Purge jar-specific handling that is not needed anymore.
2014-05-02 11:21:29 -07:00
Jordan Sissel
0d2f0b9a11 Refacter known file lookups to a single method in LogStash::Environment 2014-05-02 11:09:22 -07:00
Jordan Sissel
98f28ad376 Purge jar-specific handling that is not needed anymore.
This removes all monkeypatches for JRUBY-6970, woohoo!
I also tried to find any references to jar, jar:, or file: and
remove the special handling there.

`make test` says it's cool, so I'm happy enough.

    Finished in 19.7 seconds
    502 examples, 0 failures
2014-05-02 10:23:27 -07:00
Aaron Mildenstein
686fe37b23 Fixed to use path relative to collectd.rb codec. 2014-05-02 11:54:01 -05:00
Aaron Mildenstein
78466fdc4a Merge branch 'master' into collectd-untergeek
* master:
  Correctly set nice and ulimit -n
  Correct hash syntax
  accept new generated gemfile.lock
2014-05-02 10:30:12 -05:00
Jordan Sissel
7be12796bf Merge pull request #1322 from jordansissel/fix-sysv-init
Correctly set nice and ulimit -n
2014-05-01 12:26:28 -07:00
Jordan Sissel
8b21f24d38 Correctly set nice and ulimit -n
Previously, 'nice' was invoked incorrectly, and 'ulimit -n' would often
fail because growing it as a non-privileged user is denied.
2014-05-01 12:21:12 -07:00
CoolAcid
38b275b4dc Fix Date#Timestamp link 2014-04-30 12:10:35 -04:00
CoolAcid
50c61bf1f4 Update docs for password channels 2014-04-30 11:26:19 -04:00
Colin Surprenant
fff8fae97b refactor commands and arguments processing to allow spaces in paths 2014-04-29 17:48:46 -04:00
Colin Surprenant
ea7a7a341b use JRUBY + full JAVA env for tests 2014-04-29 17:47:38 -04:00