Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
enum | DateRange |
Public Member Functions | |
HealthMonitorDashboard (Container parent) | |
void | display () |
Private Member Functions | |
JPanel | createAdminPanel () |
JPanel | createTimingControlPanel () |
JPanel | createTimingPanel () throws HealthMonitorException |
JPanel | createUserControlPanel () |
JPanel | createUserPanel () throws HealthMonitorException |
void | generateCSVUserReport (File reportFile) throws HealthMonitorException |
String | getDuration (long start, long end) |
void | redisplay () |
void | updateData () throws HealthMonitorException |
void | updateTimingMetricGraphs () throws HealthMonitorException |
void | updateUserMetricGraphs () throws HealthMonitorException |
Private Attributes | |
JDialog | dialog = null |
final Container | parentWindow |
JComboBox< String > | timingDateComboBox = null |
JPanel | timingGraphPanel = null |
JCheckBox | timingHostCheckBox = null |
JComboBox< String > | timingHostComboBox = null |
JCheckBox | timingShowTrendLineCheckBox = null |
JCheckBox | timingSkipOutliersCheckBox = null |
JComboBox< String > | userDateComboBox = null |
JPanel | userGraphPanel = null |
Static Private Attributes | |
static final String | ADMIN_ACCESS_FILE_NAME = "admin" |
static final String | ADMIN_ACCESS_FILE_PATH = Paths.get(PlatformUtil.getUserConfigDirectory(), ADMIN_ACCESS_FILE_NAME).toString() |
static final Logger | logger = Logger.getLogger(HealthMonitorDashboard.class.getName()) |
Dashboard for viewing metrics and controlling the health monitor.
Definition at line 68 of file HealthMonitorDashboard.java.
org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.HealthMonitorDashboard | ( | Container | parent | ) |
Create an instance of the dashboard. Call display() after creation to show the dashboard.
parent | The parent container (for centering the UI) |
Definition at line 94 of file HealthMonitorDashboard.java.
|
private |
Create the admin panel. This allows the health monitor to be enabled and disabled.
Definition at line 667 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.redisplay().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().
|
private |
Create the panel with combo boxes for date range and host.
Definition at line 233 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.ONE_DAY, and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateTimingMetricGraphs().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingPanel().
|
private |
Create the panel holding the timing graphs and the controls for them.
HealthMonitorException |
Definition at line 185 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingControlPanel(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateTimingMetricGraphs().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().
|
private |
Create the panel with controls for the user panel
Definition at line 462 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.generateCSVUserReport(), org.sleuthkit.autopsy.core.UserPreferences.getHealthMonitorReportPath(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.info(), org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.ONE_DAY, org.sleuthkit.autopsy.core.UserPreferences.setHealthMonitorReportPath(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateUserMetricGraphs().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserPanel().
|
private |
Create the user panel. This displays cases open and users logged in
Definition at line 415 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserControlPanel(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateUserMetricGraphs().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().
void org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display | ( | ) |
Display the dashboard.
Definition at line 105 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createAdminPanel(), org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingPanel(), org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserPanel(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateData().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.redisplay().
|
private |
Generate a csv report for the last week of user data.
reportFile |
HealthMonitorException |
Definition at line 535 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.getDuration(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.ONE_WEEK.
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserControlPanel().
|
private |
Generate a string representing the time between the given timestamps.
start | The starting timestamp. |
end | The ending timestamp. |
Definition at line 608 of file HealthMonitorDashboard.java.
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.generateCSVUserReport().
|
private |
Delete the current dialog and create a new one. This should only be called after enabling or disabling the health monitor.
Definition at line 152 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createAdminPanel().
|
private |
Check the monitor enabled status and, if enabled, get the timing data.
HealthMonitorException |
Definition at line 164 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.getMaximumTimestampRange().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().
|
private |
Update the timing graphs.
HealthMonitorException |
Definition at line 364 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.fromLabel(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.getTimestampRange().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingControlPanel(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingPanel().
|
private |
Update the user graphs.
HealthMonitorException |
Definition at line 622 of file HealthMonitorDashboard.java.
References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.fromLabel(), org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.getMaximumTimestampRange(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.getTimestampRange().
Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserControlPanel(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserPanel().
|
staticprivate |
Definition at line 72 of file HealthMonitorDashboard.java.
|
staticprivate |
Definition at line 73 of file HealthMonitorDashboard.java.
|
private |
Definition at line 86 of file HealthMonitorDashboard.java.
|
staticprivate |
Definition at line 70 of file HealthMonitorDashboard.java.
|
private |
Definition at line 87 of file HealthMonitorDashboard.java.
|
private |
Definition at line 78 of file HealthMonitorDashboard.java.
|
private |
Definition at line 83 of file HealthMonitorDashboard.java.
|
private |
Definition at line 80 of file HealthMonitorDashboard.java.
|
private |
Definition at line 79 of file HealthMonitorDashboard.java.
|
private |
Definition at line 81 of file HealthMonitorDashboard.java.
|
private |
Definition at line 82 of file HealthMonitorDashboard.java.
|
private |
Definition at line 84 of file HealthMonitorDashboard.java.
|
private |
Definition at line 85 of file HealthMonitorDashboard.java.
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.