fluent-plugin-sns 0.1.0 → 0.1.1
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.
- data/README.rdoc +11 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_sns.rb +1 -2
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -25,6 +25,15 @@ Send fluent-event as message to amazon SNS.
|
|
|
25
25
|
sns_topic_name {sns_topic_name}
|
|
26
26
|
|
|
27
27
|
# following attibutes are optional
|
|
28
|
+
|
|
29
|
+
sqs_endpoint {endpointURL}
|
|
30
|
+
|
|
31
|
+
### endpoint list ###
|
|
32
|
+
# Tokyo(Default) : sns.ap-northeast-1.amazonaws.com
|
|
33
|
+
# Singapore : sns.ap-southeast-1.amazonaws.com
|
|
34
|
+
# US-East : sns.us-east-1.amazonaws.com
|
|
35
|
+
# US-West : sns.us-west-1.amazonaws.com
|
|
36
|
+
# EU-West : sns.eu-west-1.amazonaws.com
|
|
28
37
|
|
|
29
38
|
sns_subject_key {sns_subject_key}
|
|
30
39
|
sns_subject {sns_subject} #constant subject
|
|
@@ -32,9 +41,9 @@ Send fluent-event as message to amazon SNS.
|
|
|
32
41
|
</match>
|
|
33
42
|
|
|
34
43
|
== TODO
|
|
35
|
-
- implement!
|
|
36
|
-
|
|
37
44
|
=== More configuration
|
|
45
|
+
- E-Mail formatter
|
|
46
|
+
- buffer-output
|
|
38
47
|
|
|
39
48
|
== Tool
|
|
40
49
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
|
@@ -44,8 +44,7 @@ module Fluent
|
|
|
44
44
|
es.each {|time,record|
|
|
45
45
|
record["time"] = Time.at(time).localtime
|
|
46
46
|
subject = record[@sns_subject_key] || @sns_subject || 'Fluent-Notification'
|
|
47
|
-
|
|
48
|
-
$stderr.puts "published topic: #{msg}"
|
|
47
|
+
@topic.publish(record.to_json, :subject => subject )
|
|
49
48
|
}
|
|
50
49
|
end
|
|
51
50
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-sns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-10-
|
|
12
|
+
date: 2011-10-18 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70154940152600 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: 0.10.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70154940152600
|
|
25
25
|
description:
|
|
26
26
|
email: ixixizko@gmail.com
|
|
27
27
|
executables: []
|