logstash-output-custom-solr 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/solr.rb +1 -1
- data/logstash-output-custom-solr.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e80fb9396d28e256f3711566b0d8bb729cada2b9a32e4f9069476dda97cc3a
|
4
|
+
data.tar.gz: 728a130b779fa8dd3f231bb7139d353deb9fb9ed445d18838d6d1872d2432f67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a40b070243792827c1be3b05bba43cf5a4a00cfbd59d692cce49ab284457565a5cb01967bc5e66918afda25ac64f90ce6c1c723c4de71994a2b34c49d86d0394
|
7
|
+
data.tar.gz: cd838abdf107ce39f7b93363113b4dc3bfaaae2a00ef57da3ce53b72c7defdcb7a76ab5b3cf414d63a08ff744b7552a4b9806033fd73c061a46f92a98c8422d7
|
@@ -95,7 +95,7 @@ class LogStash::Outputs::Solr < LogStash::Outputs::Base
|
|
95
95
|
|
96
96
|
@logger.info 'Record: %s' % document.inspect
|
97
97
|
|
98
|
-
if
|
98
|
+
if @collection_field and document.has_key?(@collection_field) then
|
99
99
|
collection = document[@collection_field]
|
100
100
|
document.delete(@collection_field)
|
101
101
|
else
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-custom-solr'
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.12"
|
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."
|