logstash-input-beats 3.1.24-java → 3.1.25-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/logstash-input-beats_jars.rb +1 -1
- data/lib/logstash/inputs/beats.rb +4 -1
- data/spec/inputs/beats_spec.rb +3 -2
- data/vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/{3.1.24/logstash-input-beats-3.1.24.jar → 3.1.25/logstash-input-beats-3.1.25.jar} +0 -0
- metadata +7 -5
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: 3b8b2214dfcbde932c958fd61a90b4197984278744a23193481d4334f8242b61
         | 
| 4 | 
            +
              data.tar.gz: 609a018a25dd113e795f7899f94b0929e402063291dd7b9a567e51cf4064abb2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a3c45cb85105505ef62dbed8fdb32751ec3dc0535ae131fb3cec1bac4c806322018269e0950bb83ed5fac794e8763ad480f120020b4130208ebd3ce1f1da9709
         | 
| 7 | 
            +
              data.tar.gz: 4148db3c9bfa53050729eae2665b01d3035487a395d8e12ca80b3fb0c19265b6e07d70d289550330f92803d38858d714c3db9cb9387b66226aa1b0f424dafecd
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.1. | 
| 1 | 
            +
            3.1.25
         | 
| @@ -9,4 +9,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.7.5') | |
| 9 9 | 
             
            require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.7.5')
         | 
| 10 10 | 
             
            require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.7.5')
         | 
| 11 11 | 
             
            require_jar('org.apache.logging.log4j', 'log4j-api', '2.6.2')
         | 
| 12 | 
            -
            require_jar('org.logstash.beats', 'logstash-input-beats', '3.1. | 
| 12 | 
            +
            require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.25')
         | 
| @@ -121,6 +121,9 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base | |
| 121 121 | 
             
              # Close Idle clients after X seconds of inactivity.
         | 
| 122 122 | 
             
              config :client_inactivity_timeout, :validate => :number, :default => 60
         | 
| 123 123 |  | 
| 124 | 
            +
              # Beats handler executor thread
         | 
| 125 | 
            +
              config :executor_threads, :validate => :number, :default => LogStash::Config::CpuCoreStrategy.maximum * 4
         | 
| 126 | 
            +
             | 
| 124 127 | 
             
              def register
         | 
| 125 128 | 
             
                # For Logstash 2.4 we need to make sure that the logger is correctly set for the
         | 
| 126 129 | 
             
                # java classes before actually loading them.
         | 
| @@ -166,7 +169,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base | |
| 166 169 | 
             
              end # def register
         | 
| 167 170 |  | 
| 168 171 | 
             
              def create_server
         | 
| 169 | 
            -
                server = org.logstash.beats.Server.new(@host, @port, @client_inactivity_timeout)
         | 
| 172 | 
            +
                server = org.logstash.beats.Server.new(@host, @port, @client_inactivity_timeout, @executor_threads)
         | 
| 170 173 | 
             
                if @ssl
         | 
| 171 174 |  | 
| 172 175 | 
             
                  begin
         | 
    
        data/spec/inputs/beats_spec.rb
    CHANGED
    
    | @@ -16,15 +16,16 @@ describe LogStash::Inputs::Beats do | |
| 16 16 |  | 
| 17 17 | 
             
              context "#register" do
         | 
| 18 18 | 
             
                context "host related configuration" do
         | 
| 19 | 
            -
                  let(:config) { super.merge!({ "host" => host, "port" => port, "client_inactivity_timeout" => client_inactivity_timeout }) }
         | 
| 19 | 
            +
                  let(:config) { super.merge!({ "host" => host, "port" => port, "client_inactivity_timeout" => client_inactivity_timeout, "executor_threads" => threads }) }
         | 
| 20 20 | 
             
                  let(:host) { "192.168.1.20" }
         | 
| 21 21 | 
             
                  let(:port) { 9000 }
         | 
| 22 22 | 
             
                  let(:client_inactivity_timeout) { 400 }
         | 
| 23 | 
            +
                  let(:threads) { 10 }
         | 
| 23 24 |  | 
| 24 25 | 
             
                  subject(:plugin) { LogStash::Inputs::Beats.new(config) }
         | 
| 25 26 |  | 
| 26 27 | 
             
                  it "sends the required options to the server" do
         | 
| 27 | 
            -
                    expect(org.logstash.beats.Server).to receive(:new).with(host, port, client_inactivity_timeout)
         | 
| 28 | 
            +
                    expect(org.logstash.beats.Server).to receive(:new).with(host, port, client_inactivity_timeout, threads)
         | 
| 28 29 | 
             
                    subject.register
         | 
| 29 30 | 
             
                  end
         | 
| 30 31 | 
             
                end
         | 
| Binary file | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: logstash-input-beats
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.1. | 
| 4 | 
            +
              version: 3.1.25
         | 
| 5 5 | 
             
            platform: java
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Elastic
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017- | 
| 11 | 
            +
            date: 2017-12-15 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -212,7 +212,9 @@ dependencies: | |
| 212 212 | 
             
                - - ">="
         | 
| 213 213 | 
             
                  - !ruby/object:Gem::Version
         | 
| 214 214 | 
             
                    version: '0'
         | 
| 215 | 
            -
            description: This gem is a Logstash plugin required to be installed on top of the | 
| 215 | 
            +
            description: This gem is a Logstash plugin required to be installed on top of the
         | 
| 216 | 
            +
              Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
         | 
| 217 | 
            +
              gem is not a stand-alone program
         | 
| 216 218 | 
             
            email: info@elastic.co
         | 
| 217 219 | 
             
            executables: []
         | 
| 218 220 | 
             
            extensions: []
         | 
| @@ -264,7 +266,7 @@ files: | |
| 264 266 | 
             
            - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/1.1.33.Fork23/netty-tcnative-boringssl-static-1.1.33.Fork23.jar
         | 
| 265 267 | 
             
            - vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar
         | 
| 266 268 | 
             
            - vendor/jar-dependencies/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
         | 
| 267 | 
            -
            - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1. | 
| 269 | 
            +
            - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.25/logstash-input-beats-3.1.25.jar
         | 
| 268 270 | 
             
            homepage: http://www.elastic.co/guide/en/logstash/current/index.html
         | 
| 269 271 | 
             
            licenses:
         | 
| 270 272 | 
             
            - Apache License (2.0)
         | 
| @@ -288,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 288 290 | 
             
                  version: '0'
         | 
| 289 291 | 
             
            requirements: []
         | 
| 290 292 | 
             
            rubyforge_project:
         | 
| 291 | 
            -
            rubygems_version: 2. | 
| 293 | 
            +
            rubygems_version: 2.6.13
         | 
| 292 294 | 
             
            signing_key:
         | 
| 293 295 | 
             
            specification_version: 4
         | 
| 294 296 | 
             
            summary: Receive events using the lumberjack protocol.
         |