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 +4 -4
- data/fluent-plugin-esslowquery.gemspec +1 -1
- data/lib/fluent/plugin/parser_es_slow_query.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eddfff2ba328373e82890f795079dd0bdb1e153
|
4
|
+
data.tar.gz: e932413c6b989d99ba0c4a572b5ab59809968831
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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]
|
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.
|
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:
|
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.
|
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.
|