logstash-input-heroku 3.0.0 → 3.0.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.
- checksums.yaml +5 -5
- data/Gemfile +10 -1
- data/docs/index.asciidoc +66 -0
- data/logstash-input-heroku.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: 9ea6432d2d23cde77572570c05aef5c1890948585b50f155659e474496e70b11
|
|
4
|
+
data.tar.gz: 3cf8ce8ae765439edfadb345a723fec082938ea35a4d43ad7597cb04f3e0286b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b36fae381717eebb357ab74f80a6f52ea750e56126b0ac1125f2f158615ae82ab11d2d50ccf311ccae78577429a1813b917945d4f7674e628e1545f30f6aeca
|
|
7
|
+
data.tar.gz: c44a31d7821f8e70b329c2e5bab47cb1cd56d72ba2c7a5285bf7d58913475b4ca1a16514467a6360169c94aac3c9f9fb55fae694df90c666a90e56a91d5025e5
|
data/Gemfile
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
|
-
|
|
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
|
data/docs/index.asciidoc
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
:plugin: heroku
|
|
2
|
+
:type: input
|
|
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
|
+
=== Heroku input plugin
|
|
18
|
+
|
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
|
20
|
+
|
|
21
|
+
==== Description
|
|
22
|
+
|
|
23
|
+
Stream events from a heroku app's logs.
|
|
24
|
+
|
|
25
|
+
This will read events in a manner similar to how the `heroku logs -t` command
|
|
26
|
+
fetches logs.
|
|
27
|
+
|
|
28
|
+
Recommended filters:
|
|
29
|
+
[source,ruby]
|
|
30
|
+
filter {
|
|
31
|
+
grok {
|
|
32
|
+
pattern => "^%{TIMESTAMP_ISO8601:timestamp} %{WORD:component}\[%{WORD:process}(?:\.%{INT:instance:int})?\]: %{DATA:message}$"
|
|
33
|
+
}
|
|
34
|
+
date { timestamp => ISO8601 }
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[id="plugins-{type}s-{plugin}-options"]
|
|
38
|
+
==== Heroku Input Configuration Options
|
|
39
|
+
|
|
40
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
|
41
|
+
|
|
42
|
+
[cols="<,<,<",options="header",]
|
|
43
|
+
|=======================================================================
|
|
44
|
+
|Setting |Input type|Required
|
|
45
|
+
| <<plugins-{type}s-{plugin}-app>> |<<string,string>>|Yes
|
|
46
|
+
|=======================================================================
|
|
47
|
+
|
|
48
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
|
49
|
+
input plugins.
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
[id="plugins-{type}s-{plugin}-app"]
|
|
54
|
+
===== `app`
|
|
55
|
+
|
|
56
|
+
* This is a required setting.
|
|
57
|
+
* Value type is <<string,string>>
|
|
58
|
+
* There is no default value for this setting.
|
|
59
|
+
|
|
60
|
+
The name of your heroku application. This is usually the first part of the
|
|
61
|
+
the domain name `my-app-name.herokuapp.com`
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
|
66
|
+
include::{include_path}/{type}.asciidoc[]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-input-heroku'
|
|
4
|
-
s.version = '3.0.
|
|
4
|
+
s.version = '3.0.1'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Stream events from a heroku app's logs."
|
|
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-input-heroku
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.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:
|
|
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/inputs/heroku.rb
|
|
88
91
|
- logstash-input-heroku.gemspec
|
|
89
92
|
- spec/inputs/heroku_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.
|
|
116
|
+
rubygems_version: 2.6.11
|
|
114
117
|
signing_key:
|
|
115
118
|
specification_version: 4
|
|
116
119
|
summary: Stream events from a heroku app's logs.
|