logstash-output-datadog 3.0.0 → 3.0.1

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: dca93dfd33f2539e71b4b58196c6e0ed95d6df6c
4
- data.tar.gz: 1881e43bf74c353b59958ec567ec12522dcf993c
3
+ metadata.gz: bff00f4a30035185458af1f352e5fbd8ee1017b9
4
+ data.tar.gz: c134d59e7f8533bec455cffc2b4ddcdc8b5180a3
5
5
  SHA512:
6
- metadata.gz: 251e12e2abb1b264881c981586bb5bf427525ecfe908cb6f4d8ba3bb1325c0c4877874d41ee796691ce87e304bd1759c12bdfcdc6f782a13142d486fc31756a6
7
- data.tar.gz: 20f188cf9587ecac9b77d9e8068b0ba97625f68803559b64c4e106f391f215d4d1c255bad512dad56a59b8f90124e6734d2311b2b2df1e0de62d9aab09727d9b
6
+ metadata.gz: 61b5e81daeb7b8feb3ecda29890d4ad621a21f226718bc84c6a4e8986fa7f1ae9c793447e2679fb014e67118ce4d9f4bbc9fef8edeb390c2b5004133446bb1e6
7
+ data.tar.gz: 42fa78e2434798aff8d4bc65a9586d9b6b58f6fe511f64fa525e9cd9936b898f8f45bd5aded8d7ae693e968fd3e869661ac742c9233a6687711a52ec6bf47d36
data/Gemfile CHANGED
@@ -1,2 +1,11 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+
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
@@ -0,0 +1,124 @@
1
+ :plugin: datadog
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
+ === Datadog output plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Datadog Output Configuration Options
27
+
28
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
29
+
30
+ [cols="<,<,<",options="header",]
31
+ |=======================================================================
32
+ |Setting |Input type|Required
33
+ | <<plugins-{type}s-{plugin}-alert_type>> |<<string,string>>, one of `["info", "error", "warning", "success"]`|No
34
+ | <<plugins-{type}s-{plugin}-api_key>> |<<string,string>>|Yes
35
+ | <<plugins-{type}s-{plugin}-date_happened>> |<<string,string>>|No
36
+ | <<plugins-{type}s-{plugin}-dd_tags>> |<<array,array>>|No
37
+ | <<plugins-{type}s-{plugin}-priority>> |<<string,string>>, one of `["normal", "low"]`|No
38
+ | <<plugins-{type}s-{plugin}-source_type_name>> |<<string,string>>, one of `["nagios", "hudson", "jenkins", "user", "my apps", "feed", "chef", "puppet", "git", "bitbucket", "fabric", "capistrano"]`|No
39
+ | <<plugins-{type}s-{plugin}-text>> |<<string,string>>|No
40
+ | <<plugins-{type}s-{plugin}-title>> |<<string,string>>|No
41
+ |=======================================================================
42
+
43
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
44
+ output plugins.
45
+
46
+ &nbsp;
47
+
48
+ [id="plugins-{type}s-{plugin}-alert_type"]
49
+ ===== `alert_type`
50
+
51
+ * Value can be any of: `info`, `error`, `warning`, `success`
52
+ * There is no default value for this setting.
53
+
54
+ Alert type
55
+
56
+ [id="plugins-{type}s-{plugin}-api_key"]
57
+ ===== `api_key`
58
+
59
+ * This is a required setting.
60
+ * Value type is <<string,string>>
61
+ * There is no default value for this setting.
62
+
63
+ This output lets you send events (for now. soon metrics) to
64
+ DataDogHQ based on Logstash events
65
+
66
+ Note that since Logstash maintains no state
67
+ these will be one-shot events
68
+
69
+ Your DatadogHQ API key
70
+
71
+ [id="plugins-{type}s-{plugin}-date_happened"]
72
+ ===== `date_happened`
73
+
74
+ * Value type is <<string,string>>
75
+ * There is no default value for this setting.
76
+
77
+ Date Happened
78
+
79
+ [id="plugins-{type}s-{plugin}-dd_tags"]
80
+ ===== `dd_tags`
81
+
82
+ * Value type is <<array,array>>
83
+ * There is no default value for this setting.
84
+
85
+ Tags
86
+ Set any custom tags for this event
87
+ Default are the Logstash tags if any
88
+
89
+ [id="plugins-{type}s-{plugin}-priority"]
90
+ ===== `priority`
91
+
92
+ * Value can be any of: `normal`, `low`
93
+ * There is no default value for this setting.
94
+
95
+ Priority
96
+
97
+ [id="plugins-{type}s-{plugin}-source_type_name"]
98
+ ===== `source_type_name`
99
+
100
+ * Value can be any of: `nagios`, `hudson`, `jenkins`, `user`, `my apps`, `feed`, `chef`, `puppet`, `git`, `bitbucket`, `fabric`, `capistrano`
101
+ * Default value is `"my apps"`
102
+
103
+ Source type name
104
+
105
+ [id="plugins-{type}s-{plugin}-text"]
106
+ ===== `text`
107
+
108
+ * Value type is <<string,string>>
109
+ * Default value is `"%{message}"`
110
+
111
+ Text
112
+
113
+ [id="plugins-{type}s-{plugin}-title"]
114
+ ===== `title`
115
+
116
+ * Value type is <<string,string>>
117
+ * Default value is `"Logstash event for %{host}"`
118
+
119
+ Title
120
+
121
+
122
+
123
+ [id="plugins-{type}s-{plugin}-common-options"]
124
+ include::{include_path}/{type}.asciidoc[]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-datadog'
3
- s.version = '3.0.0'
3
+ s.version = '3.0.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "This output lets you send events (for now. soon metrics) to DataDogHQ based on Logstash events"
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/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.require_paths = ["lib"]
11
11
 
12
12
  # Files
13
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
13
+ s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
14
14
 
15
15
  # Tests
16
16
  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-datadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
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
@@ -56,6 +56,7 @@ files:
56
56
  - LICENSE
57
57
  - NOTICE.TXT
58
58
  - README.md
59
+ - docs/index.asciidoc
59
60
  - lib/logstash/outputs/datadog.rb
60
61
  - logstash-output-datadog.gemspec
61
62
  - spec/outputs/datadog_spec.rb