Project

General

Profile

Feature #37387

mgr/dashboard: Add date range and log search functionality

Added by Lenz Grimmer 11 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/monitoring
Target version:
Start date:
06/20/2018
Due date:
06/20/2018
% Done:

0%

Source:
Tags:
dashboard, usability
Backport:
nautilus
Reviewed:
Affected Versions:
Pull request ID:

Description

With #24571 merged, the cluster and audit log have now been moved to a dedicated page on the dashboard.

To make the viewing of logs more useful, this page should provide some additional functionality to work with the logs, e.g. to search for keywords or to only show a certain time range.

logFilter.png View (95.2 KB) Dan Guo, 02/01/2019 07:05 AM


Related issues

Follows mgr - Feature #24571: mgr/dashboard: Move Cluster/Audit logs from front page to dedicated "Logs" page Resolved 06/19/2018
Copied to mgr - Backport #38878: nautilus: mgr/dashboard: Add date range and log search functionality Resolved

History

#1 Updated by Lenz Grimmer 11 months ago

  • Due date set to 06/20/2018
  • Start date changed from 11/26/2018 to 06/20/2018
  • Follows Feature #24571: mgr/dashboard: Move Cluster/Audit logs from front page to dedicated "Logs" page added

#2 Updated by Dan Guo 9 months ago

How about if adding these filters for log page? For now, I just complete the html look. If it is looks good, I will continue complete the JS implementation.
Because of the upcoming Chinese New Year, my reply may be delayed and I will continue my ceph work after the holidays.
Thanks.

#3 Updated by Lenz Grimmer 9 months ago

Hi Dan, thank you for your message!

Dan Guo wrote:

How about if adding these filters for log page? For now, I just complete the html look. If it is looks good, I will continue complete the JS implementation.
Because of the upcoming Chinese New Year, my reply may be delayed and I will continue my ceph work after the holidays.

This looks promising already, thank you! I like that it's possible to filter by log level. It's great to be able to pick a single date/time, but what does this mean? Will it only display messages before or after this time? Would it be possible to add a selection box to select "before" and "after" next to the date/timepicker?

#4 Updated by Laura Paduano 9 months ago

Looks good to me! Maybe it would also make sense to have the option to set a timespan, for example when I only want to see the log output from 8 a.m. until 10 a.m. or so?

#5 Updated by Dan Guo 8 months ago

Laura Paduano wrote:

Looks good to me! Maybe it would also make sense to have the option to set a timespan, for example when I only want to see the log output from 8 a.m. until 10 a.m. or so?

Hi, I'm back. Implemented the time range filter.
I already sent a PR.

#7 Updated by Lenz Grimmer 8 months ago

  • Status changed from New to Need Review
  • Assignee set to Dan Guo
  • Pull request ID set to 26562

#8 Updated by Lenz Grimmer 7 months ago

  • Status changed from Need Review to Pending Backport
  • Backport set to nautilus

Merged into master, let's add this to Nautilus as well.

#9 Updated by Lenz Grimmer 7 months ago

  • Target version set to v15.0.0

#10 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #38878: nautilus: mgr/dashboard: Add date range and log search functionality added

#11 Updated by Lenz Grimmer 4 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF