Commit graph

7141 commits

Author SHA1 Message Date
Paul Echeverri
be7c90a292 Fixes header level errors.
Fixes #4068
2015-10-20 23:34:14 +00:00
Suyog Rao
900f2e5cbb Added note about beats
Fixes #4062
2015-10-19 19:26:12 +00:00
Suyog Rao
3712fc2b03 Added changelog for 2.0.0-beta3
Fixes #4062
2015-10-19 19:26:12 +00:00
Pier-Hugues Pellerin
ed97013196 Logstash-input-beats is now part of the default plugins
Fixes #4057
2015-10-19 18:22:22 +00:00
guyboertje
7b395ed575 update jrjackson version
Fixes #4060
2015-10-19 16:46:51 +00:00
Aaron Mildenstein
e54143b6ef Use packages.elastic.co instead
packages.elastic.co uses the same bucket as packages.elasticsearch.org.  We can use this now.

Fixes #4052
2015-10-19 15:37:24 +00:00
Paul Echeverri
7e77fcb01e Updated with feedback.
Fixes #4040
2015-10-16 18:56:27 +00:00
Paul Echeverri
b25c066fda Adds upgrading logstash directions.
Fixes #4040
2015-10-16 18:56:27 +00:00
Paul Echeverri
8180fd7574 Adds link to sample code for shutdown APIs
Fixes #4041
2015-10-16 18:55:12 +00:00
Paul Echeverri
27809eaff5 Updates 'Contributing to Logstash' with information on new plugin stop APIs.
Fixes #4041
2015-10-16 18:55:12 +00:00
Paul Echeverri
1af2873c8d Updates to include feedback.
Fixes #4039
2015-10-16 18:54:29 +00:00
Paul Echeverri
6dbc0ea501 Adds Breaking Changes section.
Fixes #4039
2015-10-16 18:54:29 +00:00
Pere Urbon-Bayes
6218cde793 added integration test status badges
Fixes #4049
2015-10-16 14:32:02 +00:00
Pere Urbon-Bayes
a8f86df53d added jenkins badges for all main branches
Fixes #4049
2015-10-16 14:32:02 +00:00
Colin Surprenant
42830bd09b cleanups
Fixes #4037
2015-10-15 21:31:08 +00:00
Colin Surprenant
c09481897c added FileWatch::BufferedTokenizer spec
Fixes #4037
2015-10-15 21:31:08 +00:00
Mark Walkom
e9bee7c0f0 Fixes #4029
Fixes #4030
2015-10-14 19:04:31 +00:00
Suyog Rao
476822e713 Add changelog for 2.0.0.beta2
Fixes #4034
2015-10-14 16:54:35 +00:00
Colin Surprenant
b21331bbcd add before_stop shutdown hook and refactor inflight reporter to use it in agent
Fixes #4024
2015-10-14 00:19:44 +00:00
Suyog Rao
e2e717c99e Merge branch 'pr/4001'
* pr/4001:
  Generate new lock file for JrJackson Fixes #4001
2015-10-13 15:02:16 -07:00
Suyog Rao
25738f1775 Generate new lock file for JrJackson
Fixes #4001
2015-10-13 15:01:54 -07:00
Suyog Rao
056ffc63fa Generate new lock file for JrJackson 2015-10-13 15:00:59 -07:00
guyboertje
26fb4bdbe0 Bump JrJackson gem to 0.3.5 and make adjustments to use it 2015-10-13 14:25:12 -07:00
Pier-Hugues Pellerin
4e300a8a41 Added clearer message when a filter crash
When the filter workers crash Logstash will stop consuming any events,
Since we don't have a dead letter queue yet, we can't restart the
workers.

Fixes #3983

Fixes #3990
2015-10-13 16:34:41 +00:00
Pier-Hugues Pellerin
93958be3cd Uses not in syntax instead of !( .. )
Fixes #4011
2015-10-13 16:18:15 +00:00
Pier-Hugues Pellerin
dbb034ec45 Plugin#params should not return obsolete params
Fixes #4011
2015-10-13 16:18:15 +00:00
Suyog Rao
62c42be8e2 Remove deprecated config options. Will also make docs nicer
Fixes #4011
2015-10-13 16:18:15 +00:00
Pere Urbon-Bayes
0eecea3e9a added an option to skip given dependencies from the license test.
Fixes #4022
2015-10-13 14:32:31 +00:00
Pier-Hugues Pellerin
7e098c6477 Allow TLSv1.2 for Lumberjack or TCP input connections
This patch requires the use of the latest version of `jruby-openssl`
which support TLSv1.2. This PRs changes the monkeypatch to specify to
set the `ssl_version` to `TLS` which allow support of TLSv1, TLSv1.1 and
TLSv1.2.

Fixes #3955, #3991
2015-10-12 13:38:55 -07:00
Suyog Rao
34ab14d60d Updated lock file after plugin changes
Fixes #4017
2015-10-12 19:58:18 +00:00
Pier-Hugues Pellerin
f81dbf9bec Lock gems version
Fixes #4004
2015-10-08 18:33:44 +00:00
Pier-Hugues Pellerin
90b6191ec2 Change master version for 3.0.0
Fixes #3999
2015-10-08 13:57:08 +00:00
Suyog Rao
bfbb49dc14 Remove elasticsearch_http from default plugins list
Fixes #4002
2015-10-08 13:35:30 +00:00
Jordan Sissel
7e7e4c8719 New plugin config attribute :obsolete
An obsolete setting is one that will cause a configuration error if it
is used.

The purpose of `:obsolete` is to help inform users when a setting has
been completely removed. The lifecycle of a plugin setting is now 4
phases: available, deprecated, obsolete, deleted.

"Available" is the default, and deprecated remains the same as it was
(logging a warning). The new obsolete will cause a configuration error
if such a setting is used. Then later, we can finally delete the config
setting after it's been obsolete for some time.

Fixes #3977

Fixes #3978
2015-10-02 09:31:29 +00:00
Stanislav
3fb87e287b Fix typo in README.md
Fixes #3979
2015-09-30 09:30:24 +00:00
Suyog Rao
cdbd46a5b3 Roadmap: Update with Alvin's changes
Fixes #3972
2015-09-26 03:23:21 +00:00
Pere Urbon-Bayes
e4c198113a Revert "merged from upstream"
This reverts commit a6ab581979.

Fixes #3951
2015-09-25 18:24:57 +00:00
guyboertje
e0ab036b34 Merge branch 'feature/3852' 2015-09-24 15:30:12 +01:00
guyboertje
5b47009648 Add basic defaults module and spec. Use defaults in pipeline and agent
move/rename defaults under config, use Concurrent.processor_count
remove method `filter_workers_count`

add CpuCoreStrategy module functions/tests. Use fifty_percent as default.

use extend self for Module functions

added defaults printing facility

change comment

add tests to defaults printer subsystem

closes #3852
2015-09-24 14:59:05 +01:00
izeye
19cbe3ed49 Correct response code to align with sample in docs
Fixes #3854
2015-09-23 16:39:16 -07:00
Joao Duarte
112b28149e rename teardown to close
remove edge case when running from rubinius

add do_stop and do_close to avoid using super
2015-09-18 16:23:40 -04:00
Colin Surprenant
5adf2b0426 removed started? and use AtomicBoolean for ready?
cleanup @filter_to_output initialization

remove @run_mutex, use ready? to synchonize shutdown agains startup sequence

remove ShutdownSignal handling & cleanup
2015-09-18 16:22:50 -04:00
Joao Duarte
3bdac41a6c trigger input plugin shutdown using out of band call
Currently, during shutdown, the pipeline loops through input workers
and calls Thread.raise on each input thread. Plugins rescue that
exception to exit the `run` loop. Afterwards, `teardown` is called for
any additional bookkeeping.

This proposal exposes a `stop` call on the input plugin class to alert
an input that it should shutdown. It is the plugin job to frequently
poll an internal `stop?` method to know if it's time to exit and
terminate if so.

The `teardown` method remains to do the additional bookkeeping, and it
will be called by the inputworker when `run` terminates.

add concurrent-ruby as logstash-core dependency

make Plugins::Input#stop? public

In some scenarios it's necessary for the inputworker or the pipeline
to know that the plugin is in a shutdown mode

document why inputworker sleeps on StandardError

better debug message when input plugin raises exception during shutdown
2015-09-18 16:22:30 -04:00
Pier-Hugues Pellerin
186806d64c Cleanup of require-helper.rb
This file isn't used in the code at all, It was probably used at some
point but its not the case anymore.

Fixes #3938
2015-09-18 18:20:32 +00:00
Pier-Hugues Pellerin
0ae58804ee Remove multiqueue
This file was probably used at some point but its not the case anymore

Fixes #3939
2015-09-18 18:20:13 +00:00
Pier-Hugues Pellerin
fe68307991 Remove unused files
Remove related files for compiling the treetop grammar we have refactored the
makefile using rake. If you want to generate a new parser you can use
this command.

`rake compile:all`

Fixes #3941
2015-09-18 18:19:38 +00:00
Pier-Hugues Pellerin
aca58da536 sprintf should work if there is no fieldref in the string
Fixes #3937
2015-09-18 15:39:44 +00:00
Pier-Hugues Pellerin
935ac9285b String Interpolation skip the last character
This PR fix a problem when doing the interpolation with a string that
did not end with a fieldref but with a character. The interpolation was
ignoring the last character.

Example:
```
"%{type}|" => "syslog"
```

Fixes #3931

Fixes #3937
2015-09-18 15:39:44 +00:00
Suyog Rao
7f9e81727d Update to changes in 2.0 beta1
Fixes #3928
2015-09-16 14:16:54 +00:00
Pier-Hugues Pellerin
b863ace5ab Silence deprecation warnings from concurrent-ruby
Concurrent-ruby is throwing warning when running under jdk7,
we have decided to silence theses errors unless you run logstash with
the `--debug` flag.

Fixes #3869
2015-09-15 13:04:12 -07:00