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

Improve "Download Logs" in dashboard #320

Closed
jamiehewitt15 opened this issue Mar 6, 2024 · 0 comments · Fixed by #365
Closed

Improve "Download Logs" in dashboard #320

jamiehewitt15 opened this issue Mar 6, 2024 · 0 comments · Fixed by #365
Assignees
Labels
Dashboard Type: Enhancement New feature or request

Comments

@jamiehewitt15
Copy link
Member

jamiehewitt15 commented Mar 6, 2024

Currently, the dashboard just calls the default /logs endpoint to download logs. We need to improve this so that the user can input the query parameters.

The logs endpoint accepts the following query parameters:

  • startTime
  • endTime
  • maxLogs
  • moduleName
  • level

For example:

GET 
http://localhost:8000/logs?startTime=2023-01-01T00:00:00Z&endTime=2023-01-02T00:00:00&&maxLogs=5&moduleName=P2P&level=info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants