logstash-codec-es_bulk 3.0.3 → 3.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72a098a373cb83cf18c229661c69753ed7a4311b
4
- data.tar.gz: 3aa8450510fbc6d956eaf51cb0b6f8ed24bf3d22
3
+ metadata.gz: 24a28867a64b5044ec6dfa10626dda0e7cf0750b
4
+ data.tar.gz: cc9371824d7fdbc2cf058bac2a86bc050b791797
5
5
  SHA512:
6
- metadata.gz: 201e15ca1ca99f84c44ef0069db7f7b0b19fc009cc2f783713e9679c1a5e7236b8a36d71071022edb0ff7754b1ebd837efb397ca799dbd038c60299b7689b795
7
- data.tar.gz: 1f8e14e0650b248816e74c5855c4b51405d4d60d535e5817e748b1785bc656f98ab2878aeb568cd07edfc08b9a894479696b699a6ae66b9c6811f6f85550f104
6
+ metadata.gz: 31aa55d9a44cd1fd3362e58daa022eeb969eee962b3a71b2ffc2a83b167cc962ca58e6060c30ecb246465791f8c715b8c86ef69e743099bbd9c91aef58919126
7
+ data.tar.gz: 51c25aee50558522e2e4dbc90fbe2de3c984394886f2eaebf708c47e4b95e8f021db382bdad0ac3c20e6e707681099f51046e827ca36efeab3f8442476927339
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in logstash-mass_effect.gemspec
4
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
@@ -0,0 +1,35 @@
1
+ :plugin: es_bulk
2
+ :type: codec
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
+ === Es_bulk codec plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ This codec will decode the http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html[Elasticsearch bulk format]
24
+ into individual events, plus metadata into the `@metadata` field.
25
+
26
+ Encoding is not supported at this time as the Elasticsearch
27
+ output submits Logstash events in bulk format.
28
+
29
+ [id="plugins-{type}s-{plugin}-options"]
30
+ ==== Es_bulk Codec Configuration Options
31
+
32
+ [cols="<,<,<",options="header",]
33
+ |=======================================================================
34
+ |Setting |Input type|Required
35
+ |=======================================================================
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-es_bulk'
4
- s.version = '3.0.3'
4
+ s.version = '3.0.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This codec decodes messages received in the Elasticsearch bulk format"
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['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
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)/})
@@ -1,3 +1,4 @@
1
+ require "logstash/devutils/rspec/spec_helper"
1
2
  require "logstash/codecs/es_bulk"
2
3
  require "logstash/event"
3
4
  require "insist"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-es_bulk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
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
@@ -70,6 +70,7 @@ files:
70
70
  - LICENSE
71
71
  - NOTICE.TXT
72
72
  - README.md
73
+ - docs/index.asciidoc
73
74
  - lib/logstash/codecs/es_bulk.rb
74
75
  - logstash-codec-es_bulk.gemspec
75
76
  - spec/codecs/es_bulk_spec.rb