logstash-output-loggly 0.1.1 → 0.1.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: 48e4f0027844b13eedcd4c41cca4b7cec38d0dc9
4
- data.tar.gz: a5b5b08cc28df137852dcaa807a748172b0fe07c
3
+ metadata.gz: 079f16b53177ad0043b8ade195d67b05a896b62f
4
+ data.tar.gz: d56f458d63b34b06ad5354fa3c4a60bace21f25c
5
5
  SHA512:
6
- metadata.gz: 656caccb2a7af013a306f1e1fca17641727ac0378aabafa64859593706befd1a8c030ee8d6a281b221f7b2ef862ffbaf247973a494de2482848722aca4952f4c
7
- data.tar.gz: 49fa223062d03e836d524129c3a75d075ed4c7eaf9e65f692988249388ba5095f75e0e1111977dfcb67f29bce7b59ecba6547306e26c1cecf76e3b093580a60b
6
+ metadata.gz: afcbf182dde5fc87f6427d1fbaeb695575d240f5dbd85b5457b0d3bbc315e37d77c028105d275dc1312f5e0ac59419927affb9d7f9c601f5620b3f9b7dcdde4c
7
+ data.tar.gz: 15d8210645dcf1c7e505c918fe88452d77a1502958c482021238c6a5b11a3ebe498c2fb2ca2f366c35c2597074b6aef8df658de8835a6e7d495584390c9911b2
data/CONTRIBUTORS ADDED
@@ -0,0 +1,19 @@
1
+ The following is a list of people who have contributed ideas, code, bug
2
+ reports, or in general have helped logstash along its way.
3
+
4
+ Contributors:
5
+ * Aaron Mildenstein (untergeek)
6
+ * John E. Vincent (lusis)
7
+ * Jordan Sissel (jordansissel)
8
+ * Joshua Bussdieker (jbussdieker)
9
+ * Kurt Hurtado (kurtado)
10
+ * Pete Fritchman (fetep)
11
+ * Pier-Hugues Pellerin (ph)
12
+ * Richard Pijnenburg (electrical)
13
+ * Tom Howe (turtlebender)
14
+ * debadair
15
+
16
+ Note: If you've sent us patches, bug reports, or otherwise contributed to
17
+ Logstash, and you aren't on the list above and want to be, please let us know
18
+ and we'll make sure you're here. Contributions from folks like you are what make
19
+ open source awesome.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2014 Elasticsearch <http://www.elasticsearch.org>
1
+ Copyright (c) 2012-2015 Elasticsearch <http://www.elasticsearch.org>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/README.md ADDED
@@ -0,0 +1,95 @@
1
+ # Logstash Plugin
2
+
3
+ This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
4
+
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
+
7
+ ## Documentation
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.elasticsearch.org/guide/en/logstash/current/).
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/elasticsearch/docs#asciidoc-guide
13
+
14
+ ## Need Help?
15
+
16
+ Need help? Try #logstash on freenode IRC or the logstash-users@googlegroups.com mailing list.
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.
26
+
27
+ - Install dependencies
28
+ ```sh
29
+ bundle install
30
+ ```
31
+
32
+ #### Test
33
+
34
+ ```sh
35
+ bundle exec rspec
36
+ ```
37
+
38
+ The Logstash code required to run the tests/specs is specified in the `Gemfile` by the line similar to:
39
+ ```ruby
40
+ gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
41
+ ```
42
+ To test against another version or a local Logstash, edit the `Gemfile` to specify an alternative location, for example:
43
+ ```ruby
44
+ gem "logstash", :github => "elasticsearch/logstash", :ref => "master"
45
+ ```
46
+ ```ruby
47
+ gem "logstash", :path => "/your/local/logstash"
48
+ ```
49
+
50
+ Then update your dependencies and run your tests:
51
+
52
+ ```sh
53
+ bundle install
54
+ bundle exec rspec
55
+ ```
56
+
57
+ ### 2. Running your unpublished Plugin in Logstash
58
+
59
+ #### 2.1 Run in a local Logstash clone
60
+
61
+ - Edit Logstash `tools/Gemfile` and add the local plugin path, for example:
62
+ ```ruby
63
+ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
64
+ ```
65
+ - Update Logstash dependencies
66
+ ```sh
67
+ rake vendor:gems
68
+ ```
69
+ - Run Logstash with your plugin
70
+ ```sh
71
+ bin/logstash -e 'filter {awesome {}}'
72
+ ```
73
+ At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
74
+
75
+ #### 2.2 Run in an installed Logstash
76
+
77
+ - Build your plugin gem
78
+ ```sh
79
+ gem build logstash-filter-awesome.gemspec
80
+ ```
81
+ - Install the plugin from the Logstash home
82
+ ```sh
83
+ bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
84
+ ```
85
+ - Start Logstash and proceed to test the plugin
86
+
87
+ ## Contributing
88
+
89
+ All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.
90
+
91
+ 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.
92
+
93
+ It is more important to me that you are able to contribute.
94
+
95
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
@@ -27,18 +27,18 @@ end
27
27
  # and 'json logging' enabled.
28
28
  class LogStash::Outputs::Loggly < LogStash::Outputs::Base
29
29
  config_name "loggly"
30
- milestone 2
31
30
 
32
31
  # The hostname to send logs to. This should target the loggly http input
33
32
  # server which is usually "logs.loggly.com"
34
33
  config :host, :validate => :string, :default => "logs.loggly.com"
35
34
 
36
35
  # The loggly http input key to send to.
37
- # This is usually visible in the Loggly 'Inputs' page as something like this
36
+ # This is usually visible in the Loggly 'Inputs' page as something like this:
37
+ # ....
38
38
  # https://logs.hoover.loggly.net/inputs/abcdef12-3456-7890-abcd-ef0123456789
39
39
  # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40
40
  # \----------> key <-------------/
41
- #
41
+ # ....
42
42
  # You can use `%{foo}` field lookups here if you need to pull the api key from
43
43
  # the event. This is mainly aimed at multitenant hosting providers who want
44
44
  # to offer shipping a customer's logs to that customer's loggly account.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-loggly'
4
- s.version = '0.1.1'
4
+ s.version = '0.1.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Got a loggly account? Use logstash to ship logs to Loggly!"
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/plugin install gemname. This gem is not a stand-alone program"
@@ -1 +1 @@
1
- require "logstash/devutils/rspec/spec_helper"
1
+ require "logstash/devutils/rspec/spec_helper"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-loggly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-19 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -51,8 +51,10 @@ extensions: []
51
51
  extra_rdoc_files: []
52
52
  files:
53
53
  - .gitignore
54
+ - CONTRIBUTORS
54
55
  - Gemfile
55
56
  - LICENSE
57
+ - README.md
56
58
  - Rakefile
57
59
  - lib/logstash/outputs/loggly.rb
58
60
  - logstash-output-loggly.gemspec