Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluentd 0.14.15: apache2 formatで時刻のパースに失敗する #54

Closed
kou opened this issue Sep 3, 2017 · 1 comment
Closed

Fluentd 0.14.15: apache2 formatで時刻のパースに失敗する #54

kou opened this issue Sep 3, 2017 · 1 comment

Comments

@kou
Copy link
Member

kou commented Sep 3, 2017

設定例(抜粋):

<parse>
  @type apache2
</parse>

ログ:

2017-09-03 16:57:55 +0900 [warn]: #0 "66.249.79.132 - - [03/Sep/2017:16:57:26 +0900] \"GET /blog/2014/2/21.html HTTP/1.1\" 200 8849 \"-\" \"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)\"" error="invalid time format: value = 03/Sep/2017:16:57:26 +0900, error_class = ArgumentError, error = argument out of range"

parser_apache2.rb#initialize@time_parserを使っているのが悪そう。#configureじゃないとダメじゃないかしら。

@okkez
Copy link
Contributor

okkez commented Sep 12, 2017

fluent/fluentd#1690

@okkez okkez closed this as completed Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants