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

ログを単なるテキストではなくcsv等として記録する #142

Open
futabato opened this issue Dec 15, 2021 · 0 comments
Open
Labels
good first issue Good for newcomers Logger Logger

Comments

@futabato
Copy link
Collaborator

概要

HimawariではすべてのHTTPメッセージのログを取っているが、リクエストの数が多いので数GB、数千万行のログが簡単に生成される。それくらいの重さになるとエディタやコマンドで開くにはかなり重くなってしまう。VSCodeのターミナルでHimawariを起動している状態でログを開くとVSCodeが落ちてしまう可能性もある。

そこで、ログの扱いを最適化している(かもしれない)ログ解析の専用ツール(Kibana, Splunk等)に読み込ませる前提で、ツールに適したフォーマットでログを出力する案が出た。

方針

  1. よさげなログ解析ツールを探す
  2. ツールが読み取れるデータフォーマットを調べる
  3. そのフォーマットに合う形でログを出力できるよう実装する。

備考

@futabato futabato added good first issue Good for newcomers Logger Logger labels Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Logger Logger
Projects
None yet
Development

No branches or pull requests

1 participant