logstash-output-mongodb 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/outputs/mongodb.rb +7 -7
- data/logstash-output-mongodb.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ffa90de651ecb6cdded946ccb3df2e6b4ac6f40
|
4
|
+
data.tar.gz: 763433ec998c5c463eaead7a6253310fd41d2fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3638c30d6d3eeaab6ab73916f08679847b348888749b059a0e83a9624ac99f57598243aaa7c29b8256dfd6dbc960531e4b4fe0042ed89b7de78f5eed2128c9ff
|
7
|
+
data.tar.gz: 90c011a9f9f71fb0d93cce2e16b1653f29d2675319090f0ed6b5ce4026ed9c0b2b98d5b940d75b5d52fc0abaa0799f95d73ded649a06bea9dcbfe743b686d42f
|
data/CHANGELOG.md
CHANGED
@@ -4,29 +4,29 @@ require "logstash/namespace"
|
|
4
4
|
require "mongo"
|
5
5
|
require_relative "bson/big_decimal"
|
6
6
|
require_relative "bson/logstash_timestamp"
|
7
|
-
# require_relative "bson/logstash_event"
|
8
7
|
|
8
|
+
# This output writes events to MongoDB.
|
9
9
|
class LogStash::Outputs::Mongodb < LogStash::Outputs::Base
|
10
10
|
|
11
11
|
config_name "mongodb"
|
12
12
|
|
13
|
-
#
|
14
|
-
# See http://docs.mongodb.org/manual/reference/connection-string
|
13
|
+
# A MongoDB URI to connect to.
|
14
|
+
# See http://docs.mongodb.org/manual/reference/connection-string/.
|
15
15
|
config :uri, :validate => :string, :required => true
|
16
16
|
|
17
|
-
# The database to use
|
17
|
+
# The database to use.
|
18
18
|
config :database, :validate => :string, :required => true
|
19
19
|
|
20
20
|
# The collection to use. This value can use `%{foo}` values to dynamically
|
21
21
|
# select a collection based on data in the event.
|
22
22
|
config :collection, :validate => :string, :required => true
|
23
23
|
|
24
|
-
# If true, store the @timestamp field in
|
24
|
+
# If true, store the @timestamp field in MongoDB as an ISODate type instead
|
25
25
|
# of an ISO8601 string. For more information about this, see
|
26
|
-
# http://www.mongodb.org/display/DOCS/Dates
|
26
|
+
# http://www.mongodb.org/display/DOCS/Dates.
|
27
27
|
config :isodate, :validate => :boolean, :default => false
|
28
28
|
|
29
|
-
#
|
29
|
+
# The number of seconds to wait after failure before retrying.
|
30
30
|
config :retry_delay, :validate => :number, :default => 3, :required => false
|
31
31
|
|
32
32
|
# If true, an "_id" field will be added to the document before insertion.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-mongodb'
|
3
|
-
s.version = '3.0.
|
3
|
+
s.version = '3.0.1'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Store events into MongoDB"
|
6
6
|
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"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-mongodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|