fluent-plugin-esslowquery 1.0.1 → 1.0.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: 34a18040e0fa5530c27ce8d12c322025d8561afe
4
- data.tar.gz: b018fa343da365444fa30cc7351a9619bf15c49e
3
+ metadata.gz: 9eddfff2ba328373e82890f795079dd0bdb1e153
4
+ data.tar.gz: e932413c6b989d99ba0c4a572b5ab59809968831
5
5
  SHA512:
6
- metadata.gz: 7cc5d1a36daf03c7d2623f2bcf57445134d431ce9676b5d293015f2588cd304bdb924117a383d2a2a4cbeb8d5bf9d22c93c1721f581a99a850cd38ad514cf5c1
7
- data.tar.gz: 314cf3e3ab48533c1110ce3b0c3530aa954c31250ff2e046c8040ed39dcbe388acff0cbe181efc1d9637cb99ee3ff219bcd7f9be8a7cbada7319e0cef82d50f3
6
+ metadata.gz: caef9092c3f652a94ecb6745270af1166c69aaae9e6f8cf9ef611783e08db6bd7d91191fcad5c12638ab2c12f2f5f29d80720547c71fda4b8d48319095ae00d8
7
+ data.tar.gz: 197cd681f216fb607aff63a32cda452874165850615c896f5b1aa947f03c059615cd12875e195ae763a621d29dc0017b428956c2fe70c7563e4b0f1d0cdfc3a9
@@ -11,6 +11,6 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
12
  gem.name = "fluent-plugin-esslowquery"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = "1.0.1"
14
+ gem.version = "1.0.2"
15
15
  gem.add_dependency "fluentd", [">= 0.12.0", "< 2"]
16
16
  end
@@ -1,6 +1,6 @@
1
1
  module Fluent
2
2
  class ElasticsearchSlowLogParser < Parser
3
- REGEXP = /^\[(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3})\]\[(?<severity>[a-zA-Z]+)\]\[(?<source>\S+)\] \[(?<node>\S+)\] \[(?<index>\w+)\]\[(?<shard>\d+)\] took\[(?<took>.+)\], took_millis\[(?<took_millis>\d+)\], types\[(?<types>.*)\], stats\[(?<stats>.*)\], search_type\[(?<search_type>.*)\], total_shards\[(?<total_shards>\d+)\], source\[(?<source_body>.*)\], extra_source\[(?<extra_source>.*)\]/
3
+ REGEXP = /^\[(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3})\]\[(?<severity>[a-zA-Z]+\s*)\]\[(?<source>\S+)\] \[(?<node>\S+)\] \[(?<index>\w+)\]\[(?<shard>\d+)\] took\[(?<took>.+)\], took_millis\[(?<took_millis>\d+)\], types\[(?<types>.*)\], stats\[(?<stats>.*)\], search_type\[(?<search_type>.*)\], total_shards\[(?<total_shards>\d+)\], source\[(?<source_body>.*)\], extra_source\[(?<extra_source>.*)\]/
4
4
  TIME_FORMAT = "%Y-%m-%d %H:%M:%S,%N"
5
5
 
6
6
  Plugin.register_parser("es_slow_query", self)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-esslowquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boguslaw Mista
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-22 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.4.3
66
+ rubygems_version: 2.2.2
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Fluent parser plugin for Elasticsearch slow query log file.