fluent-plugin-coralogix 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluent/plugin/out_coralogix.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c41a200602498024b0dfa869418e82a7997982f249f51d32630dd33c09ec037
|
4
|
+
data.tar.gz: a652ef47796968d984e94aa86e1c92b593f74c4cc7e90145909df8259e0d6f8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a769ed473fbfd0035db47cddf4980746f866b1087ae217caa55aa7c44d19f1af90dc6b0959ac4e3324643fa87635509bc30e5fbbe2718aec8a0d92aaca2a8caa
|
7
|
+
data.tar.gz: 91c8fe7de64cf8ce1d3465fdaa5d32a9558dcef7594f9843ae66785dcdb3adc22723696e5c9a6aa14dd8f078eaec00422259d0ed6697ad5f1166075794ccd160
|
@@ -14,6 +14,7 @@ module Fluent
|
|
14
14
|
# and identifies the plugin in the configuration file.
|
15
15
|
Fluent::Plugin.register_output('coralogix', self)
|
16
16
|
config_param :config, :hash, :default => {}, deprecated: "This parameter is deprecated"
|
17
|
+
config_param :endpoint, :string, :default => nil
|
17
18
|
config_param :privatekey, :string, :default => nil
|
18
19
|
config_param :appname, :string, :default => ""
|
19
20
|
config_param :subsystemname, :string, :default => ""
|
@@ -54,6 +55,11 @@ module Fluent
|
|
54
55
|
i+=1
|
55
56
|
end
|
56
57
|
|
58
|
+
unless endpoint.nil?
|
59
|
+
ENV["CORALOGIX_LOG_URL"] = "https://#{endpoint}/api/v1/logs"
|
60
|
+
ENV["CORALOGIX_TIME_DELTA_URL"] = "https://#{endpoint}/sdk/v1/time"
|
61
|
+
end
|
62
|
+
|
57
63
|
rescue Exception => e
|
58
64
|
$log.error "Failed to configure: #{e}"
|
59
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-coralogix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Royee Goldberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: centralized_ruby_logger
|