embulk-parser-apache_error_log 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 +4 -4
- data/Rakefile +2 -0
- data/embulk-parser-apache_error_log.gemspec +2 -2
- data/lib/embulk/parser/apache_error_log.rb +1 -2
- data/samples/error.log +3 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f645d9c5ef98ebea995deddcf77760cb4d18b0e9
|
4
|
+
data.tar.gz: 48f392b54ba5445cbdf36f03d31f4910fdd96b81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cd9a405ec75e402631065be4084ce70431df9fc1e1af82da861b60691691bef41d3731f9629bd61904ed1cf799ead37111e507ef5133fea70d1d4dda781ab06
|
7
|
+
data.tar.gz: 19ceebd7f36f52ba7e19de5458cb61ad737bec574b96d72ac0eab2d348766a3e7e162ae8f7b65e432cc5f6b16623ef30073251a9e16fa2230977db9681bc927b
|
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-parser-apache_error_log"
|
4
|
-
spec.version = "0.1.
|
5
|
-
spec.authors = ["Tomohiro
|
4
|
+
spec.version = "0.1.2"
|
5
|
+
spec.authors = ["Tomohiro Mitsumune"]
|
6
6
|
spec.summary = "Apache Error Log parser plugin for Embulk"
|
7
7
|
spec.description = "Parses Apache Error Log files read by other file input plugins."
|
8
8
|
spec.email = ["tmitsumune@gmail.com"]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
module Embulk
|
1
|
+
module Embulk
|
2
2
|
module Parser
|
3
3
|
|
4
4
|
class ApacheErrorLog < ParserPlugin
|
@@ -6,7 +6,6 @@ module Embulk
|
|
6
6
|
|
7
7
|
def self.transaction(config, &control)
|
8
8
|
# configuration code:
|
9
|
-
puts config
|
10
9
|
task = {
|
11
10
|
'hostname' => config.param('hostname', :string, default: '')
|
12
11
|
}
|
data/samples/error.log
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
[Wed Nov 30 21:00:40 2016] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
|
2
|
+
[Wed Nov 30 21:39:25 2016] [error] [client 127.0.0.1] client denied by server configuration: /var/www/public_html/
|
3
|
+
[Wed Nov 30 21:39:25 2016] [error] [client 127.0.0.1] client denied by server configuration: /var/www/public_html/error/noindex.html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-parser-apache_error_log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Tomohiro
|
7
|
+
- Tomohiro Mitsumune
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- embulk-parser-apache_error_log.gemspec
|
69
69
|
- lib/embulk/guess/apache_error_log.rb
|
70
70
|
- lib/embulk/parser/apache_error_log.rb
|
71
|
+
- samples/error.log
|
71
72
|
homepage: https://github.com/tmitz/embulk-parser-apache_error_log
|
72
73
|
licenses:
|
73
74
|
- MIT
|