logstash-output-custom-solr 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 352ec3438631b436ea2432b8146a601e9b5c5f78fe11d36708de700964511ec9
4
- data.tar.gz: fdc03fdf4931310b1aea3e563c2779276bd4a8f2716cee108d80f43b93224351
3
+ metadata.gz: caff5818ed12363cf2e99065972b362b83091504f3ab3b3cbaa71da7fc963cec
4
+ data.tar.gz: fe61bd444ad8459bcf07d3ba0d85a82cb5d7f04a436e8fd5f9a217e130e32f3f
5
5
  SHA512:
6
- metadata.gz: 6af46d59b27cfaae98dfb781885fd7136df8da44b009030dc8036c90e66cb9dfc31a1c4d06e5e9d099c946ff57a87a5f0c74cdba74ff59797407ffc81c706027
7
- data.tar.gz: 042db23fbf4d788c21b57e4fbdff63a38d8847835ced2daa62791edf5eb3a13f4f4c9cfe3323cb4b4cb04353c39e1effed629d99b0fde2145445ec5e293b529d
6
+ metadata.gz: 479534610ef425312fc9c504d8e8ef00744aca5258f6351509b072735d23068e5d8bf26b25005e44af94b8df5f03f93859832bbe5f718541ee81cd156a9bf357
7
+ data.tar.gz: 5216d2d7130e16f69ded860454be740e7422acab2e59fe932b4710e2ce58aaabb2eec0743e6f999fd1baff002a4bb530b3f943bcebc1f60896347156f81eeb55
@@ -97,6 +97,7 @@ class LogStash::Outputs::Solr < LogStash::Outputs::Base
97
97
 
98
98
  if !@collection_field and document.has_key?(@collection_field) then
99
99
  collection = document[@collection_field]
100
+ document.delete(@collection_field)
100
101
  else
101
102
  collection = @collection
102
103
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-custom-solr'
3
- s.version = "0.1.8"
3
+ s.version = "0.1.9"
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "Logstash output plugin for sending data to Solr."
6
6
  s.description = "Logstash output plugin for sending data to Solr. It supports SolrCloud, not only Standalone Solr."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-custom-solr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minoru Osuka