fluent-plugin-tail-ex-asis 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: 43d1b995a81dbe63377364b7d2aacaaa0713e12d
4
- data.tar.gz: 3e087a92f430b752accf2ac86cff6d58480503a7
3
+ metadata.gz: 96826c06824a14383f2d8b47471d37d61423c643
4
+ data.tar.gz: c15d2b6657990a01cafbc441cfd8db096ae51e8c
5
5
  SHA512:
6
- metadata.gz: da50da9d4b186f77326a24a2430baacd5844ec75b695772e11a424785f4a051b752182825f3360950e91a3c8182f6bda7bd74275d25d8cd8c8efc3ec4ead318a
7
- data.tar.gz: 2ddb41be76f3611263fce027f7c6b4654306bb6e0112cb1a9b9c008d5f42217029082b13ff536a2d8e81c28042d4b9c3793b0977ac8d3aae422500f6052ec2bb
6
+ metadata.gz: ecceef8810af0d8c3c123a5a50a60dff6115e1957d600c3f4b07f5409524c4047b0c0c21a7cb6a7fa582cdfb379662431d6116b5d7494ee78ff9d19a297bef36
7
+ data.tar.gz: 2fe17aecb6a04cb197607e3f9f65c8f44493e3de9d721427f8ca4fbf064e6003d72272658e803f7ad7087ac9b210e776504afa3090629e36398c03f947c9dea7
data/README.md CHANGED
@@ -7,7 +7,8 @@ A main feature of the plugin is support path parameter expansions.
7
7
  A path parameter can be configured using glob and/or date format (strftime).
8
8
  Furthermore, the plugin append file path to the configured tag.
9
9
 
10
- This repo was merged with tail-asis plugin to process the message as-is with no regex applied.
10
+
11
+ ### This repo was merged with tail-asis plugin to process the message as-is with no regex applied.
11
12
 
12
13
  Note: In order to pass all tests, this plugin needs fluentd 0.10.26 or above.
13
14
 
@@ -35,7 +36,7 @@ Moreover, all configuration parameters support some placeholders which provided
35
36
  Sample configuration:
36
37
 
37
38
  <source>
38
- type tail_ex
39
+ type tail_ex_asis
39
40
  path /var/log/**.log,/var/log/by-date/%Y/messages.%m/%Y%m%d
40
41
  tag tail_ex.*.${hostname}
41
42
  pos_file /var/tmp/fluentd.pos
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = "fluent-plugin-tail-ex-asis"
16
16
  gem.require_paths = ["lib"]
17
- gem.version = "0.1.1"
17
+ gem.version = "0.1.2"
18
18
 
19
19
  #requires = ['fluentd', 'fluent-mixin-config-placeholders']
20
20
  #requires.each {|name| gem.add_runtime_dependency name}
@@ -2,8 +2,8 @@ module Fluent
2
2
  require 'fluent/plugin/in_tail'
3
3
  require 'fluent/mixin/config_placeholders'
4
4
 
5
- class TailExInput < TailInput
6
- Plugin.register_input('tail_ex', self)
5
+ class TailExAsisInput < TailInput
6
+ Plugin.register_input('tail_ex_asis', self)
7
7
 
8
8
  config_param :expand_date, :bool, :default => true
9
9
  config_param :read_all, :bool, :default => true
@@ -68,7 +68,7 @@ module Fluent
68
68
  pe = nil
69
69
  end
70
70
 
71
- watcher = TailExWatcher.new(path, @rotate_wait, pe, &method(:receive_lines))
71
+ watcher = TailExAsisWatcher.new(path, @rotate_wait, pe, &method(:receive_lines))
72
72
  watcher.attach(@loop)
73
73
  @watchers[path] = watcher
74
74
  end
@@ -116,7 +116,7 @@ module Fluent
116
116
  end
117
117
  end
118
118
 
119
- class TailExWatcher < TailWatcher
119
+ class TailExAsisWatcher < TailWatcher
120
120
  def initialize(path, rotate_wait, pe, &receive_lines)
121
121
  @parent_receive_lines = receive_lines
122
122
  super(path, rotate_wait, pe, &method(:_receive_lines))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-tail-ex-asis
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
  - Yoshihisa Tanaka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-28 00:00:00.000000000 Z
11
+ date: 2014-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd