logstash-output-hipchat 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +8 -1
- data/docs/index.asciidoc +122 -0
- data/logstash-output-hipchat.gemspec +2 -2
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 31e79e6c81411ca6996dbde8c3c7cc366446e911cb124affea152ad3962daef5
|
4
|
+
data.tar.gz: b44f807c82b0ef453e71382e71e4292d70aa939b31ba4b229588fed9b4856912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7efbea2e2f5e72abc4715f3113ea70b3836338745db880589de8377af2f64384490dc86d0353aae62c18be379a4cf51cbb2b0c1f75468219f10993868a429475
|
7
|
+
data.tar.gz: 1a50db335c8c1b15da680da37f6338ace7089c6aacd9092bd43e58a23d007585f71aa5713f774e96c2566bb591cf23b7e8b875f4659cee6a571e53325e459633
|
data/Gemfile
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in logstash-mass_effect.gemspec
|
4
3
|
gemspec
|
4
|
+
|
5
|
+
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
6
|
+
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
7
|
+
|
8
|
+
if Dir.exist?(logstash_path) && use_logstash_source
|
9
|
+
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
|
10
|
+
gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
|
11
|
+
end
|
data/docs/index.asciidoc
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
:plugin: hipchat
|
2
|
+
:type: output
|
3
|
+
|
4
|
+
///////////////////////////////////////////
|
5
|
+
START - GENERATED VARIABLES, DO NOT EDIT!
|
6
|
+
///////////////////////////////////////////
|
7
|
+
:version: %VERSION%
|
8
|
+
:release_date: %RELEASE_DATE%
|
9
|
+
:changelog_url: %CHANGELOG_URL%
|
10
|
+
:include_path: ../../../../logstash/docs/include
|
11
|
+
///////////////////////////////////////////
|
12
|
+
END - GENERATED VARIABLES, DO NOT EDIT!
|
13
|
+
///////////////////////////////////////////
|
14
|
+
|
15
|
+
[id="plugins-{type}-{plugin}"]
|
16
|
+
|
17
|
+
=== Hipchat output plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
This output allows you to write events to https://www.hipchat.com/[HipChat].
|
24
|
+
|
25
|
+
Make sure your API token have the appropriate permissions and support
|
26
|
+
sending messages.
|
27
|
+
|
28
|
+
[id="plugins-{type}s-{plugin}-options"]
|
29
|
+
==== Hipchat Output Configuration Options
|
30
|
+
|
31
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
32
|
+
|
33
|
+
[cols="<,<,<",options="header",]
|
34
|
+
|=======================================================================
|
35
|
+
|Setting |Input type|Required
|
36
|
+
| <<plugins-{type}s-{plugin}-color>> |<<string,string>>|No
|
37
|
+
| <<plugins-{type}s-{plugin}-format>> |<<string,string>>|No
|
38
|
+
| <<plugins-{type}s-{plugin}-from>> |<<string,string>>|No
|
39
|
+
| <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
|
40
|
+
| <<plugins-{type}s-{plugin}-message_format>> |<<string,string>>, one of `["html", "text"]`|No
|
41
|
+
| <<plugins-{type}s-{plugin}-room_id>> |<<string,string>>|Yes
|
42
|
+
| <<plugins-{type}s-{plugin}-token>> |<<string,string>>|Yes
|
43
|
+
| <<plugins-{type}s-{plugin}-trigger_notify>> |<<boolean,boolean>>|No
|
44
|
+
|=======================================================================
|
45
|
+
|
46
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
47
|
+
output plugins.
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
[id="plugins-{type}s-{plugin}-color"]
|
52
|
+
===== `color`
|
53
|
+
|
54
|
+
* Value type is <<string,string>>
|
55
|
+
* Default value is `"yellow"`
|
56
|
+
|
57
|
+
Background color for message.
|
58
|
+
HipChat currently supports one of "yellow", "red", "green", "purple",
|
59
|
+
"gray", or "random". (default: yellow), support fieldref
|
60
|
+
|
61
|
+
[id="plugins-{type}s-{plugin}-format"]
|
62
|
+
===== `format`
|
63
|
+
|
64
|
+
* Value type is <<string,string>>
|
65
|
+
* Default value is `"%{message}"`
|
66
|
+
|
67
|
+
Message format to send, event tokens are usable here.
|
68
|
+
|
69
|
+
[id="plugins-{type}s-{plugin}-from"]
|
70
|
+
===== `from`
|
71
|
+
|
72
|
+
* Value type is <<string,string>>
|
73
|
+
* Default value is `"logstash"`
|
74
|
+
|
75
|
+
The name the message will appear be sent from, you can use fieldref
|
76
|
+
|
77
|
+
[id="plugins-{type}s-{plugin}-host"]
|
78
|
+
===== `host`
|
79
|
+
|
80
|
+
* Value type is <<string,string>>
|
81
|
+
* There is no default value for this setting.
|
82
|
+
|
83
|
+
HipChat host to use
|
84
|
+
|
85
|
+
[id="plugins-{type}s-{plugin}-message_format"]
|
86
|
+
===== `message_format`
|
87
|
+
|
88
|
+
* Value can be any of: `html`, `text`
|
89
|
+
* Default value is `"html"`
|
90
|
+
|
91
|
+
Specify `Message Format`
|
92
|
+
|
93
|
+
[id="plugins-{type}s-{plugin}-room_id"]
|
94
|
+
===== `room_id`
|
95
|
+
|
96
|
+
* This is a required setting.
|
97
|
+
* Value type is <<string,string>>
|
98
|
+
* There is no default value for this setting.
|
99
|
+
|
100
|
+
The ID or name of the room, support fieldref
|
101
|
+
|
102
|
+
[id="plugins-{type}s-{plugin}-token"]
|
103
|
+
===== `token`
|
104
|
+
|
105
|
+
* This is a required setting.
|
106
|
+
* Value type is <<string,string>>
|
107
|
+
* There is no default value for this setting.
|
108
|
+
|
109
|
+
The HipChat authentication token.
|
110
|
+
|
111
|
+
[id="plugins-{type}s-{plugin}-trigger_notify"]
|
112
|
+
===== `trigger_notify`
|
113
|
+
|
114
|
+
* Value type is <<boolean,boolean>>
|
115
|
+
* Default value is `false`
|
116
|
+
|
117
|
+
Whether or not this message should trigger a notification for people in the room.
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
122
|
+
include::{include_path}/{type}.asciidoc[]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-hipchat'
|
4
|
-
s.version = '4.0.
|
4
|
+
s.version = '4.0.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "This output allows you to write events to Hipchat"
|
7
7
|
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"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files = Dir[
|
14
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-hipchat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,9 @@ dependencies:
|
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
-
description: This gem is a Logstash plugin required to be installed on top of the
|
75
|
+
description: This gem is a Logstash plugin required to be installed on top of the
|
76
|
+
Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
|
77
|
+
gem is not a stand-alone program
|
76
78
|
email: info@elastic.co
|
77
79
|
executables: []
|
78
80
|
extensions: []
|
@@ -84,6 +86,7 @@ files:
|
|
84
86
|
- LICENSE
|
85
87
|
- NOTICE.TXT
|
86
88
|
- README.md
|
89
|
+
- docs/index.asciidoc
|
87
90
|
- lib/logstash/outputs/hipchat.rb
|
88
91
|
- logstash-output-hipchat.gemspec
|
89
92
|
- spec/outputs/hipchat_spec.rb
|
@@ -110,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
113
|
version: '0'
|
111
114
|
requirements: []
|
112
115
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.6.
|
116
|
+
rubygems_version: 2.6.11
|
114
117
|
signing_key:
|
115
118
|
specification_version: 4
|
116
119
|
summary: This output allows you to write events to Hipchat
|