fluent-plugin-monolog 0.1.5 → 0.1.6

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -13
  3. data/fluent-plugin-monolog.gemspec +1 -1
  4. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffa7f941c9f313e5c1d04255bb8b66488ffa473b
4
- data.tar.gz: 031dfc2dd82f2dd5a6245ce7e14b13ee71dfb736
3
+ metadata.gz: df47200df54141d568058e8d1ca8a3472e92449c
4
+ data.tar.gz: 450ecb76009d3aa42235010cac47e88ed8349c32
5
5
  SHA512:
6
- metadata.gz: 4d46f6a177700a1a5315ced6a0c8b39da3a47ed58e6a8a81bc8ab80ded85c38faf5e86511c67ea5a83c78533da853c57669af7fd4fbdc894b977340b646444d0
7
- data.tar.gz: d2c2c7ecda5a96333f8eace4300968eb24b7c8e07eaa783c06ca56bb9a1e087cc603a2dc59be454d8495c72a642f349697dce45bd9fdc3683bd74c803a77cb12
6
+ metadata.gz: 67b7cd0ec5f04e47469341ff67611fc09c3e39d146746158bc2adb42689c23b11c828502f1e693a2d73f8c08bc7a86cc5144f1a8288c17fbe05da11f119ec065
7
+ data.tar.gz: 361c25790f8290ea4f7253a3701f8ccd9b6da107879504989e06922994204e7e05b7d4925624884f9a3561ac95e6c02a5b5c925652736d3a0f9c29ff5b6e71f3
data/README.md CHANGED
@@ -2,29 +2,36 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/imunew/fluent-plugin-monolog.svg?branch=master)](https://travis-ci.org/imunew/fluent-plugin-monolog)
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/fluent/plugin/monolog`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- TODO: Delete this and the text above, and describe your gem
5
+ Put your Ruby code in the file `lib/fluent/plugin/monolog`.
6
+ To experiment with that code, run `bin/console` for an interactive prompt.
8
7
 
9
8
  ## Installation
10
9
 
11
- Add this line to your application's Gemfile:
10
+ Install via `td-agent-gem`.
12
11
 
13
- ```ruby
14
- gem 'fluent-plugin-monolog'
12
+ ```bash
13
+ $ td-agent-gem install fluent-plugin-monolog
15
14
  ```
16
15
 
17
- And then execute:
18
-
19
- $ bundle
20
-
21
- Or install it yourself as:
16
+ We have an example for this plugin, so please use it.
22
17
 
23
- $ gem install fluent-plugin-monolog
18
+ - [fluent-plugin-monolog-example](https://github.com/imunew/fluent-plugin-monolog-example)
24
19
 
25
20
  ## Usage
26
21
 
27
- TODO: Write usage instructions here
22
+ After installed, please add configurations of [in_tail(tail Input Plugin)](http://docs.fluentd.org/v0.12/articles/in_tail) to `td-agent.conf`, like below.
23
+
24
+ ```
25
+ # /etc/td-agent/td-agent.conf
26
+
27
+ <source>
28
+ @type tail
29
+ path /path/to/example.log
30
+ format monolog
31
+ pos_file /path/to/example.log.pos
32
+ tag example.stream
33
+ </source>
34
+ ```
28
35
 
29
36
  ## Development
30
37
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-monolog"
7
- spec.version = "0.1.5"
7
+ spec.version = "0.1.6"
8
8
  spec.authors = ["imunew"]
9
9
  spec.email = ["imunew@gmail.com"]
10
10
 
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-monolog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - imunew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-08 00:00:00.000000000 Z
11
+ date: 2017-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.12'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.12'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fluentd
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Fluentd parser plugin to parse log text from monolog
@@ -75,9 +75,9 @@ executables:
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".gitignore"
79
- - ".rspec"
80
- - ".travis.yml"
78
+ - .gitignore
79
+ - .rspec
80
+ - .travis.yml
81
81
  - Gemfile
82
82
  - LICENSE.txt
83
83
  - README.md
@@ -96,17 +96,17 @@ require_paths:
96
96
  - lib
97
97
  required_ruby_version: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - ">="
99
+ - - '>='
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - ">="
104
+ - - '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.4.5.1
109
+ rubygems_version: 2.0.14.1
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Fluentd parser plugin to parse log text from monolog