logstash-output-opsgenie 0.1.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e68b7e70a1bd19e7719676111e533006cfb3b9c
4
- data.tar.gz: 3f7ef7b387ac48afd4816c48d56388c420c47fe3
3
+ metadata.gz: 3fe6cee3d9842fedb35b8dec290a26a9869f4a05
4
+ data.tar.gz: cbc26b22efd5bafdb5d12cc12415ea28323339eb
5
5
  SHA512:
6
- metadata.gz: 809699c36041fbe620f093e6432e559313ae3d0e10ddfd5d67611503ce90f5969c5119f3d4a4d88faa54516c0b2cae45581347924dc666541e45cb73bba390d0
7
- data.tar.gz: dfa1e80f6c73a9a6e905b03b7e965fdf1747a9657fcdc88e5a08f35f1b8688634683e6134f8aa4adacd346c44652b1ec05e36503abffe454cd9ac7fe31f6aef2
6
+ metadata.gz: 99766d0b47dbb5f8099b9174e0e3b22b2fd1f086816ae53798b78d00844366a579c5f9085a21891bc360e4512d91fb272088924ab561c55a47ae6e7fc74574d9
7
+ data.tar.gz: da5e033f51f63b44c671b68008604cbaffb78e092c49d0f67b0e1e7711ad39e7a40399419ec21c6a235d628d9f5c6a221c6673a3ec5c92e938eeb825980dd123
data/README.md CHANGED
@@ -1,86 +1,27 @@
1
- # Logstash Plugin
1
+ # OpsGenie Logstash Plugin
2
2
 
3
3
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
6
6
 
7
- ## Documentation
7
+ ### Install and Run OpsGenie Output Plugin in Logstash
8
8
 
9
- Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
9
+ OpsGenie Logstash Output plugin is available in [RubyGems.org](https://rubygems.org/gems/logstash-output-opsgenie)
10
10
 
11
- - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
-
14
- ## Need Help?
15
-
16
- Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
17
-
18
- ## Developing
19
-
20
- ### 1. Plugin Developement and Testing
21
-
22
- #### Code
23
- - To get started, you'll need JRuby with the Bundler gem installed.
24
-
25
- - Create a new plugin or clone and existing from the GitHub [logstash-plugins](https://github.com/logstash-plugins) organization. We also provide [example plugins](https://github.com/logstash-plugins?query=example).
26
-
27
- - Install dependencies
28
- ```sh
29
- bundle install
30
- ```
31
-
32
- #### Test
33
-
34
- - Update your dependencies
35
-
36
- ```sh
37
- bundle install
38
- ```
39
-
40
- - Run tests
41
-
42
- ```sh
43
- bundle exec rspec
44
- ```
45
-
46
- ### 2. Running your unpublished Plugin in Logstash
47
-
48
- #### 2.1 Run in a local Logstash clone
49
-
50
- - Edit Logstash `Gemfile` and add the local plugin path, for example:
51
- ```ruby
52
- gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
53
- ```
54
11
  - Install plugin
55
12
  ```sh
56
- bin/plugin install --no-verify
57
- ```
58
- - Run Logstash with your plugin
59
- ```sh
60
- bin/logstash -e 'filter {awesome {}}'
13
+ bin/plugin install logstash-output-opsgenie
61
14
  ```
62
- At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
63
15
 
64
- #### 2.2 Run in an installed Logstash
65
-
66
- You can use the same **2.1** method to run your plugin in an installed Logstash by editing its `Gemfile` and pointing the `:path` to your local plugin development directory or you can build the gem and install it using:
67
-
68
- - Build your plugin gem
69
- ```sh
70
- gem build logstash-filter-awesome.gemspec
71
- ```
72
- - Install the plugin from the Logstash home
16
+ - OpsGenie has Logstash Integration. To use the plugin you need to add a [Logstash Integration](https://app.opsgenie.com/integration?add=Logstash) in OpsGenie and obtain the API Key.
17
+ - Add the following configuration to your configuration file and populate "apiKey" field with your Logstash Integration API Key
73
18
  ```sh
74
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
19
+ output {
20
+ opsgenie {
21
+ "apiKey" => "logstash_integration_api_key"
22
+ }
23
+ }
75
24
  ```
76
- - Start Logstash and proceed to test the plugin
77
-
78
- ## Contributing
79
-
80
- All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.
81
-
82
- Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.
83
-
84
- It is more important to the community that you are able to contribute.
25
+ - Run Logstash.
85
26
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
27
+ For more information about OpsGenie Logstash Integration, please refer to [support document](https://www.opsgenie.com/docs/integrations/logstash-integration).
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-opsgenie'
3
- s.version = "0.1.0"
3
+ s.version = '2.0.2'
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "This output Creates, Closes, Acknowledges alerts and Adds Note to alerts in OpsGenie."
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/plugin install gemname. This gem is not a stand-alone program"
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
19
19
 
20
20
  # Gem dependencies
21
- s.add_runtime_dependency "logstash-core", ">= 1.4.0", "< 2.0.0"
22
- s.add_runtime_dependency "logstash-codec-plain"
23
- s.add_development_dependency "logstash-devutils"
24
- end
21
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.beta2", "< 3.0.0"
22
+ s.add_runtime_dependency 'logstash-codec-plain'
23
+
24
+ s.add_development_dependency 'logstash-devutils'
25
+ end
metadata CHANGED
@@ -1,24 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-opsgenie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-29 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - '>='
17
17
  - !ruby/object:Gem::Version
18
- version: 1.4.0
18
+ version: 2.0.0.beta2
19
19
  - - <
20
20
  - !ruby/object:Gem::Version
21
- version: 2.0.0
21
+ version: 3.0.0
22
22
  name: logstash-core
23
23
  prerelease: false
24
24
  type: :runtime
@@ -26,10 +26,10 @@ dependencies:
26
26
  requirements:
27
27
  - - '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.4.0
29
+ version: 2.0.0.beta2
30
30
  - - <
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.0
32
+ version: 3.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements: