logstash-output-solr_http 3.0.1 → 3.0.2
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 +4 -4
 - data/Gemfile +10 -1
 - data/docs/index.asciidoc +92 -0
 - data/logstash-output-solr_http.gemspec +2 -2
 - metadata +4 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 0a0756828450f925e569c68093cbc30a288ec722
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 9842c1a09613dc944cd26649c8d6f7c79b168688
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 3df35bd4de2edbc0a9a348cecdecec64fa70dc28c95ea52d9bd2a23d8334f73e1e4ce01dc2c596ad0ad7bc4042dcc8393f6ca8e31a9ad0e35e02d3e775262301
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b4aa1791e66247d4f568e9d21a5b2f7ec8d730738d294ee40c70bacedcab2a66a235284035e1de160f518686e8d37fe2e05c12a450200aab599d6ac5ee5aad99
         
     | 
    
        data/Gemfile
    CHANGED
    
    | 
         @@ -1,2 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            source 'https://rubygems.org'
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            gemspec
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
         
     | 
| 
      
 6 
     | 
    
         
            +
            use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            if Dir.exist?(logstash_path) && use_logstash_source
         
     | 
| 
      
 9 
     | 
    
         
            +
              gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
         
     | 
| 
      
 10 
     | 
    
         
            +
              gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
         
     | 
| 
      
 11 
     | 
    
         
            +
            end
         
     | 
    
        data/docs/index.asciidoc
    ADDED
    
    | 
         @@ -0,0 +1,92 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            :plugin: solr_http
         
     | 
| 
      
 2 
     | 
    
         
            +
            :type: output
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            ///////////////////////////////////////////
         
     | 
| 
      
 5 
     | 
    
         
            +
            START - GENERATED VARIABLES, DO NOT EDIT!
         
     | 
| 
      
 6 
     | 
    
         
            +
            ///////////////////////////////////////////
         
     | 
| 
      
 7 
     | 
    
         
            +
            :version: %VERSION%
         
     | 
| 
      
 8 
     | 
    
         
            +
            :release_date: %RELEASE_DATE%
         
     | 
| 
      
 9 
     | 
    
         
            +
            :changelog_url: %CHANGELOG_URL%
         
     | 
| 
      
 10 
     | 
    
         
            +
            :include_path: ../../../../logstash/docs/include
         
     | 
| 
      
 11 
     | 
    
         
            +
            ///////////////////////////////////////////
         
     | 
| 
      
 12 
     | 
    
         
            +
            END - GENERATED VARIABLES, DO NOT EDIT!
         
     | 
| 
      
 13 
     | 
    
         
            +
            ///////////////////////////////////////////
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            [id="plugins-{type}-{plugin}"]
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            === Solr_http output plugin
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            include::{include_path}/plugin_header.asciidoc[]
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            ==== Description
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            This output lets you index&store your logs in Solr. If you want to get
         
     | 
| 
      
 24 
     | 
    
         
            +
            started quickly you should use version 4.4 or above in schemaless mode,
         
     | 
| 
      
 25 
     | 
    
         
            +
            which will try and guess your fields automatically. To turn that on,
         
     | 
| 
      
 26 
     | 
    
         
            +
            you can use the example included in the Solr archive:
         
     | 
| 
      
 27 
     | 
    
         
            +
            [source,shell]
         
     | 
| 
      
 28 
     | 
    
         
            +
                tar zxf solr-4.4.0.tgz
         
     | 
| 
      
 29 
     | 
    
         
            +
                cd example
         
     | 
| 
      
 30 
     | 
    
         
            +
                mv solr solr_ #back up the existing sample conf
         
     | 
| 
      
 31 
     | 
    
         
            +
                cp -r example-schemaless/solr/ .  #put the schemaless conf in place
         
     | 
| 
      
 32 
     | 
    
         
            +
                java -jar start.jar   #start Solr
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            You can learn more at https://lucene.apache.org/solr/[the Solr home page]
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
            [id="plugins-{type}s-{plugin}-options"]
         
     | 
| 
      
 37 
     | 
    
         
            +
            ==== Solr_http Output Configuration Options
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
            This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            [cols="<,<,<",options="header",]
         
     | 
| 
      
 42 
     | 
    
         
            +
            |=======================================================================
         
     | 
| 
      
 43 
     | 
    
         
            +
            |Setting |Input type|Required
         
     | 
| 
      
 44 
     | 
    
         
            +
            | <<plugins-{type}s-{plugin}-document_id>> |<<string,string>>|No
         
     | 
| 
      
 45 
     | 
    
         
            +
            | <<plugins-{type}s-{plugin}-flush_size>> |<<number,number>>|No
         
     | 
| 
      
 46 
     | 
    
         
            +
            | <<plugins-{type}s-{plugin}-idle_flush_time>> |<<number,number>>|No
         
     | 
| 
      
 47 
     | 
    
         
            +
            | <<plugins-{type}s-{plugin}-solr_url>> |<<string,string>>|No
         
     | 
| 
      
 48 
     | 
    
         
            +
            |=======================================================================
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
            Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
         
     | 
| 
      
 51 
     | 
    
         
            +
            output plugins.
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
             
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
            [id="plugins-{type}s-{plugin}-document_id"]
         
     | 
| 
      
 56 
     | 
    
         
            +
            ===== `document_id` 
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
              * Value type is <<string,string>>
         
     | 
| 
      
 59 
     | 
    
         
            +
              * Default value is `nil`
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
            Solr document ID for events. You'd typically have a variable here, like
         
     | 
| 
      
 62 
     | 
    
         
            +
            '%{foo}' so you can assign your own IDs
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
            [id="plugins-{type}s-{plugin}-flush_size"]
         
     | 
| 
      
 65 
     | 
    
         
            +
            ===== `flush_size` 
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
              * Value type is <<number,number>>
         
     | 
| 
      
 68 
     | 
    
         
            +
              * Default value is `100`
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
            Number of events to queue up before writing to Solr
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
            [id="plugins-{type}s-{plugin}-idle_flush_time"]
         
     | 
| 
      
 73 
     | 
    
         
            +
            ===== `idle_flush_time` 
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
              * Value type is <<number,number>>
         
     | 
| 
      
 76 
     | 
    
         
            +
              * Default value is `1`
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
            Amount of time since the last flush before a flush is done even if
         
     | 
| 
      
 79 
     | 
    
         
            +
            the number of buffered events is smaller than flush_size
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
            [id="plugins-{type}s-{plugin}-solr_url"]
         
     | 
| 
      
 82 
     | 
    
         
            +
            ===== `solr_url` 
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
              * Value type is <<string,string>>
         
     | 
| 
      
 85 
     | 
    
         
            +
              * Default value is `"http://localhost:8983/solr"`
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
            URL used to connect to Solr
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            [id="plugins-{type}s-{plugin}-common-options"]
         
     | 
| 
      
 92 
     | 
    
         
            +
            include::{include_path}/{type}.asciidoc[]
         
     | 
| 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
              s.name            = 'logstash-output-solr_http'
         
     | 
| 
       4 
     | 
    
         
            -
              s.version         = '3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              s.version         = '3.0.2'
         
     | 
| 
       5 
5 
     | 
    
         
             
              s.licenses        = ['Apache License (2.0)']
         
     | 
| 
       6 
6 
     | 
    
         
             
              s.summary         = "This output lets you index&store your logs in Solr."
         
     | 
| 
       7 
7 
     | 
    
         
             
              s.description     = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
         
     | 
| 
         @@ -11,7 +11,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       11 
11 
     | 
    
         
             
              s.require_paths = ["lib"]
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
              # Files
         
     | 
| 
       14 
     | 
    
         
            -
              s.files = Dir[ 
     | 
| 
      
 14 
     | 
    
         
            +
              s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
              # Tests
         
     | 
| 
       17 
17 
     | 
    
         
             
              s.test_files = s.files.grep(%r{^(test|spec|features)/})
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: logstash-output-solr_http
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Elastic
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2017-06-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -98,6 +98,7 @@ files: 
     | 
|
| 
       98 
98 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       99 
99 
     | 
    
         
             
            - NOTICE.TXT
         
     | 
| 
       100 
100 
     | 
    
         
             
            - README.md
         
     | 
| 
      
 101 
     | 
    
         
            +
            - docs/index.asciidoc
         
     | 
| 
       101 
102 
     | 
    
         
             
            - lib/logstash/outputs/solr_http.rb
         
     | 
| 
       102 
103 
     | 
    
         
             
            - logstash-output-solr_http.gemspec
         
     | 
| 
       103 
104 
     | 
    
         
             
            - spec/outputs/solr_http_spec.rb
         
     | 
| 
         @@ -123,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       123 
124 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       124 
125 
     | 
    
         
             
            requirements: []
         
     | 
| 
       125 
126 
     | 
    
         
             
            rubyforge_project:
         
     | 
| 
       126 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 127 
     | 
    
         
            +
            rubygems_version: 2.4.8
         
     | 
| 
       127 
128 
     | 
    
         
             
            signing_key:
         
     | 
| 
       128 
129 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       129 
130 
     | 
    
         
             
            summary: This output lets you index&store your logs in Solr.
         
     |