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

Log fetching and analysis #6

Open
2 tasks
thanethomson opened this issue Jun 13, 2022 · 0 comments
Open
2 tasks

Log fetching and analysis #6

thanethomson opened this issue Jun 13, 2022 · 0 comments
Labels
logs Issues relating to log processing, analysis and management

Comments

@thanethomson
Copy link
Collaborator

It's critical to the debugging process to be able to analyze nodes' logs, so we should look at:

  • being able to fetch logs from nodes (this could be a simple Ansible script to just pull all the Tendermint log files from all nodes), and
  • being able to analyze them effectively.

A simple, quick 'n dirty approach to enabling log analysis may be to just output all Tendermint logs as JSON and import them into a PostgreSQL database once we've fetched them. I haven't used Postgres' JSON functionality extensively, but I'm somewhat confident it'll allow for quicker log interrogation and debugging than greping through by hand - especially if we can create indexes on JSON fields.

@thanethomson thanethomson added the logs Issues relating to log processing, analysis and management label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logs Issues relating to log processing, analysis and management
Projects
None yet
Development

No branches or pull requests

1 participant