Commit graph

215 commits

Author SHA1 Message Date
Pier-Hugues Pellerin
1d31ec2835 Do not force a verify_mode with a our stronger ssl settings
We have discovered that in some cases and some plaftorms
configuring a default `verify_mode` when creating a SSL/TCPServer
could make the certificate verification fail. Ruby default behavior is
to use `NIL` when creating a new ssl context, this revert that change.

keep in mind that all TCP clients using SSL **must** use `VERIFY_PEER`
as their verify mode to prevent man in the middle attack.

Fix: https://github.com/elastic/logstash/issues/3657
2015-07-31 21:44:03 -04:00
Pier-Hugues Pellerin
ad70247e55 add flores 0.0.6 2015-07-31 21:24:20 -04:00
Suyog Rao
d0e2221f40 Bump twitter version to fix ftw conflict 2015-05-28 19:26:21 +00:00
Suyog Rao
739c8985ff bump ruby-ftw version to 0.0.42 2015-05-28 11:18:13 -07:00
Suyog Rao
fabfb8fc8a Bump version to latest lumberjack for bug fixes 2015-05-25 22:58:32 -07:00
Colin Surprenant
86ca8a3791 replace bluecloth with kramdown pure-ruby markdown parser 2014-04-03 13:59:44 -04:00
Michael Klishin
f284d4a586 [rabbitmq] Bunny 1.1.8+
[Change log](http://blog.rubyrabbitmq.info/blog/2014/03/27/bunny-1-dot-1-8-is-released/)
2014-03-27 10:12:46 +03:00
Kurt Hurtado
3e9df26af0 Merge pull request #1151 from GregMefford/docfix_json_lines
Doc-fix for json_lines codec
2014-03-26 18:06:38 -07:00
Michael Klishin
24bdb6efa2 Bump Bunny to 1.1.7+
Fix a thread leak which affects apps that perform
manual recovery, including Logstash RabbitMQ plugin.

Plus this kind of latency improvements:

![](ac09c4dc-95ba-11e3-93d9-a28fb25a8327.png)
2014-03-21 09:07:57 +03:00
Jordan Sissel
f7ccf5795b - bump lumberjack version 2014-03-12 15:17:28 -07:00
Jordan Sissel
4886dc1e3c Add sinatra gem. This was accidentally removed in a previous commit.
This fixes 'bin/logstash web' to run correctly (was broken in an earlier
1.4.0 beta)
2014-03-12 14:51:00 -07:00
Jordan Sissel
15558b1e28 Add 'rack' gem back in
This is required for 'logstash web' to serve Kibana and was
removed accidentally.

This fixes LOGSTASH-1918
2014-03-12 14:01:54 -07:00
Greg Mefford
e9291f3fe4 bluecloth is needed to build the docs 2014-03-06 00:14:08 -05:00
Jordan Sissel
8d91f7edaa Add elasticsearch rubygem
This is used in the new http support of elasticsearch output.
2014-02-28 10:26:06 -08:00
Jordan Sissel
f7b7cc3248 Merge pull request #1105 from jordansissel/elasticsearch-deletes-and-more
Elasticsearch deletes and unification (protocol => http)
2014-02-21 15:32:03 -08:00
Jordan Sissel
52a53a605c Implement protocol => http in elasticsearch output
Also add `action` setting to allow logstash to signal document
deletions, updates, etc. The goal is to support any bulk request with
this output plugin, but the early target is simply to allow deletes.

This is one step in the path to having only one elasticsearch output
plugin and eventually removing elasticsearch_http.

The following tests pass
    % bin/logstash rspec spec/outputs/elasticsearch.rb
    ...
    Finished in 1 minute 33.94 seconds
    3 examples, 0 failures

Tested manually 'elasticsearch { protocol => http }' with success.

Still to be implemented:
* template management
* tests to cover all protocols: node, transport, and http
* mark elasticsearch_http as deprecated?
2014-02-21 11:48:05 -08:00
Bill Hwang
440a5eb583 Remove extra "mail" dependency in logstash.gemspec
Add rescue blocak to bundle install loop in gembag.rb
2014-02-19 12:07:42 -08:00
Aaron Mildenstein
bc2e9b677b Fix core-contrib (again) after branch delete. Keep json filter in core. 2014-02-07 15:33:00 -06:00
Greg Mefford
bd471a5f9f Make sure the i18n gem is v0.6.6 or newer
because lib/logstash/runner.rb uses `I18n.enforce_available_locales=`
which isn't available until v0.6.6.
2014-01-27 21:41:25 -05:00
Michael Klishin
e09a4fec14 [rabbitmq] March Hare 2.1.0+
[Release notes](http://blog.rubyrabbitmq.info/blog/2014/01/16/march-hare-2-dot-1-0-is-released/): nothing that may affect Logstash, though.
2014-01-21 13:06:02 +03:00
Michael Klishin
0328c2e115 [rabbitmq] Bunny 1.1.0+ 2014-01-13 01:16:47 +03:00
Jordan Sissel
b623cd6eb6 Bump ftw version which includes a fix for LOGSTASH-704 2013-12-16 13:22:22 -08:00
Jordan Sissel
2773f32116 Merge pull request #839 from untergeek/master
Added elasticsearch mapping template management to elasticsearch output plugin
2013-12-11 12:36:28 -08:00
Aaron Mildenstein
16d07573c2 Major updates for template management:
Java API methods for elasticsearch.rb
Cleaned up documentation for elasticsearch_http.rb
Updated Makefile to use Elasticsearch 0.90.7 (necessary for new template management Java API methods)
Updated logstash.gemspec to use updated jruby-elasticsearch (where the new template management framework is for JRuby)
2013-12-10 20:23:32 -06:00
Jordan Sissel
ee4806dc2b - Bump ftw version to work around jruby#1055 2013-12-09 00:09:33 -08:00
Michael Klishin
f971618433 [rabbitmq] Bunny 1.0.5+ 2013-12-06 08:35:22 -08:00
Jordan Sissel
af0f598d47 Add racc gem for rbx (since it doesn't ship with it) 2013-12-05 18:23:50 -08:00
Jordan Sissel
1ca7454fb8 Merge pull request #838 from michaelklishin/marchhare20
[rabbitmq] Switch to March Hare 2.0
2013-12-05 15:10:36 -08:00
Jordan Sissel
07e0b5d245 - Add 'protocol' setting to allow users to use the 'Transport' client in
elasticsearch. (LOGSTASH-102)
- Add 'bind_port' setting to allow users with the default node protocol
to choose what local port is used. (LOGSTASH-1453)
2013-12-05 12:14:01 -08:00
Michael Klishin
a534b04d18 [rabbitmq] Switch to March Hare 2.0
March Hare is the new name for Hot Bunnies.

2.0 release notes:
http://blog.rubyrabbitmq.info/blog/2013/12/05/march-hare-2-dot-0-0-is-released/

Logstash RabbitMQ plugins are not affected by the breaking API changes.
2013-12-05 16:28:57 +04:00
Jordan Sissel
38945b8483 - Add rubysl library as a dependency if we're on rbx.
- Additionally, because some gem installations require rubysl (under
rbx), make gembag install it first before running bundler.
2013-12-05 00:41:11 -08:00
Jordan Sissel
d25718f054 Upgrade ftw
The only change in ftw is that it now only loads backports on ruby 1.8,
which should help speed up the startup time of any plugins (and web)
that use ftw.
2013-12-04 23:53:44 -08:00
mrsolo
6c48f5e7ed Added Jenkins depdency
ci_report is to generate test result in junit compatible format
2013-12-03 10:04:23 -08:00
Aaron Mildenstein
84af5d7114 Merge pull request #778 from dakrone/edn-codec
Add EDN codec

Thanks @dakrone 

Thanks for making Logstash more awesome!
2013-11-19 16:20:30 -08:00
Aaron Mildenstein
c7b25c1e8b Merge pull request #707 from jdve/elasticsearch-filter
filters: elasticsearch: new filter for querying es
2013-11-19 15:41:31 -08:00
Lee Hinman
1e93bf7a20 Add EDN codec 2013-11-15 19:56:45 -07:00
Jordan Sissel
2130fe11dd - remove executables from the gem 2013-11-15 15:10:46 -08:00
Nick Ethier
e35eaffc1a Merge pull request #751 from michaelklishin/patch-1
[rabbitmq] Bump Bunny version to 1.0.0
2013-10-29 13:43:03 -07:00
Nick Ethier
05437b9eb1 Merge pull request #675 from sematext/master
Solr output
2013-10-29 12:21:13 -07:00
Michael Klishin
13e4d49b1b [rabbitmq] Bump Bunny version to 1.0.0 2013-10-29 15:57:19 +03:00
Jonathan Van Eenwyk
826662a1d7 filters: elasticsearch: new filter for querying es
Sometimes it's useful to be able to correlate new events with previous
events (e.g., to calculate time duration between events).  This filter
queries an elasticsearch host to find the top event matching the given
search criteria and copies specific fields from that event into the new
event.

Here's an example that will determine when an operation started and
store that timestamp into the ending event:

   if [type] == "end" {
      elasticsearch {
         hosts => ["es-server"]
         query => "type:start AND operation:%{[opid]}"
         fields => ["@timestamp", "started"]
      }

      date {
         match => ["[started]", "ISO8601"]
         target => "[started]"
      }
   }
2013-10-25 09:05:07 -06:00
Jordan Sissel
cb470b79ac Update libs and dep versions to use cabin >= 0.6.0 and avoid conflicting
0.5 and 0.6 installs. (LOGSTASH-1497)

This was observed as a result of ugprading to jruby 1.7.5 (thus
upgrading rubygems). I believe the order of operations in dependency
resolution was changed to trigger this. Basically, ftw wants cabin>0,
logstash wanted cabin=0.5.0, and if ftw is satisfied first then
logstash's dep fails.
2013-10-21 11:08:35 -07:00
Jordan Sissel
9f0a64bee9 Merge pull request #694 from bernd/LOGSTASH-1394
Fix geoip filter with GeoLite ASN database. (LOGSTASH-1394)
2013-10-05 23:24:47 -07:00
Bernd Ahlers
948291fe9f Require geoip >= 1.3.2 to fix LOGSTASH-1394.
The new geoip version defines to_hash on GeoIP::ASN objects.
2013-10-06 03:56:27 +02:00
Jordan Sissel
5333a4c7d1 - upgrade ftw. This new version sets TCP_NODELAY on all connections.
Because of this change, the elasticsearch_http output can send data at a
much faster rate (since we aren't waiting for a full segment before
publishing data)

Before this patch, locally I measured elasticsearch_http at 1500 eps;
After this patch, I measured elasticsearch_http at 8500 eps.
2013-10-03 13:27:15 -07:00
Nick Ethier
7b934eb2dc Merge pull request #687 from bernd/rufus-scheduler-version
Stick to rufus-scheduler 2.0.x versions
2013-10-03 10:26:47 -07:00
Nick Ethier
bacb74ee07 version bump ftw gem 2013-10-03 10:17:36 -06:00
Bernd Ahlers
43f67be0b6 Stick to rufus-scheduler 2.0.x versions.
Unbreaks tests as seen in
12047597.
2013-10-02 14:12:05 +02:00
Radu Gheorghe
7e08843134 added dependency to rsolr for Solr output 2013-09-27 18:55:02 +03:00
Nick Ethier
84545e1125 Merge branch 'filter-tests' into travis 2013-09-25 14:11:21 -06:00