4. Working with Reports

There are a wide variety of Reports which can be created with the data stored. This section discusses these reports and provides the steps for the assorted activities that can be accomplished on the Reports.

4.1. Viewing the Reports Dashboard

To open the Reports Dashboard, and work with the Dashboard, follow these steps:

  1. On the navigation panel, click on Reports ‣ Manager.

  2. The Reports Dashboard opens.

report56

The widgets that are shown include:

  • Reports per Group

  • Report Status

  • Reports per User

The current list of reports are shown, Which includes the following information for each report:

  • Name

  • Details

  • Group assigned

  • Username

  • Number of widgets

  • Beginning date of the report

  • Ending date of the report

  • Date the report was created

4.2. Selecting another Group for the Reports

Each Group can have individual reports created for that specific Group. The following shows the steps to change the Group in the Reports Dashboard.

  1. On the navigation panel, click on Reports ‣ Manager.

report57

  1. The Reports Dashboard open.

  2. Locate the group link on the Dashboard toward the upper right.

  3. Click on the link for the current Group, in this example it is (Root).

  4. The “Select Group” window opens.

report59

  1. Click on the desired Group.

  2. Click on the OK button.

  3. The Report Dashboard is updated for the Group selected.

4.2.1. Managing Reports

There are a variety of activities that can be performed with the Reports, including creating new Reports, editing an existing Report, moving a Report to another Group, importing and exporting Reports, deleting Reports, and Scheduling the reports to run at specific times.

This section shows the steps to perform each of these actions on the Reports.

4.3. Creating New Reports

  1. On the navigation panel, click on Reports ‣ Manager.

report60

  1. The Reports Dashboard open.

  2. Click on the Add button.

  3. The “Reports Editor” opens in the “Required” tab, as shown:

report61

  1. You can either select a Template for the Report by clicking on the drop-down menu under Template, or create a report from scratch by not selecting a Template.

Note

If you use a Template this will populate the Report Name and any widgets assicated with that templete. You can edit the template values and/or widgets to fit your needs.

report62

  1. The next step is to select the date for the beginning of the Report. Click on the calendar on the left side of the Begin field. Click on the desired date for the Report to begin.

report63

  1. The next step is to select the hour for the report to begin. Once the date is selected, the time selection opens. This selection display is based on a 24 hour clock. Click on the hour that the Report is to start running.

report64

  1. The next step is to select the Minute for the beginning of the report. The Minutes are available in five minute increments. Click on the desired five minute interval for the Report to begin.

report65

  1. When the date, hour, and minute are selected, the Begin field is populated, as shown:

report66

Note

If you need to change the Date and Time you can click on the calendar on the left side of the begin field. To go back click on the center date. report66a

  1. Next, select the time frame for how frequently the new Report is to run. The options for Frequency are:

  • Once (Now)

  • Daily

  • Weekly

  • Monthly

report67

  1. If “Once (Now)” is selected as the Frequency, an end time must be entered, as shown here:

For the End time, the same calendar opens to select the end time, hour, and minute that was shown for the Begin time. Select the Date, Hour, and Minute that the report is to end.

report68

If “Once (Now)” is selected as the Frequency, the next step is to select the Run Period. The time selected is when the report will run. Select the Date, Hour, and Minute that the report is to run.

report68a

Note

If no Run Period is selected or if the time is in the past. The report will run once you click OK button.

If Daily, Weekly, or Monthly is selected for the Frequency, the End time and Run Period are not entered.

  1. The next step is to select the Output Type which determines whether the output of the Report is put into a PDF or CSV format.

Click on the drop-down menu next to Output Type and click on either PDF or CSV.

report69

  1. The next step is to select the Group on which the new Report is run by clicking on the desired Group.

report70

  1. The next step is to click on the Optional tab. This allows additional information to be entered about the report.

report71

  1. Enter a brief description of the Report in the Report Details field.

  2. Enter the description to be placed on the cover page in the Cover Page Details field.

  3. The next step is to select the Filter for the Report, by clicking on the drop down menu for Filter. The entire list of choices is found in the Reference Guide.

This is a Report wide Search argument, for example:

  • class_type = “Firewall”

  • class_type = “IDS”

report72

  1. If the Report is to be emailed, enter the entire E-Mail address for each recipient, separated by a comma ‘,’.

report73

  1. Click on the Widgets tab.

report74

  1. Widgets are added to the Reports by default if a template was selected. The list of Widgets for the Report can be edited and removed, or new Widgets can be added.

  2. If a new Widget needs to be added to the Report, on the Widgets tab, click on the Add button, and the “Widget Editor” opens:

report75

Note

Skip the following step if creating a widget from scratch.

  1. The first item to identify for the Widget is the type of Template.

Click on the drop-down arrow to select the Template for the Widget, and click on the desired template.

Numerous Templates are currently defined, and new Templates are easily created and added.

report76

  1. Enter the Widget Name that is to appear on the Report.

  2. Enter the Widget Details that better describes the data contained in the Widget.

report77

  1. The next item to define for the Widget is the Widget Type, which identifies the manner in which the data is displayed on the Report. There are several Widget Types available, including:

  • Bar Graph

  • Group Bar Graph

  • Pie/Circle Graph

  • Timeline Graph

  • Map

  • Table

  • Trending (small) Portlet

  • Trending (Large) Portlet

  • Node-Link Relationship

Click on the drop-down arrow by Widget Type, and select the desired Type.

report78

  1. The next criteria to define for the Widget is the Data Resource.

Click on the drop-down arrow by Data Resource to select the desired resource. The options include:

  • Events

  • Resource

  • Incidents

  • Vulnerabilities

  • Audit

report79

  1. Before the X and Y axis can be defined, the Columns, Filter, Group, Sort, must be selected and Limit must be entered.

Click on the Advanced tab.

Click on the field for Columns, and click on the desired columns which are to be used.

report81

  1. The next step is to select the Filter for the Widget. Click on the field for the Filter and select the desired Filter for which the results on the Widget are displayed.

report82

  1. The next step is to identify how the data on the Widget is grouped. Under the Group field, select the columns to group by.

report83

Note

It is required to have a aggregation column for group by. i.e. ‘count alert_name’

  1. After the Group is defined, the next step is to select the columns that are to be sorted and their order.

Click on the Sort field and select the columns on which the data is sorted.

report84

  1. The next step is to enter the limit. The limit number controls the number of results that are returned.

Note

You can enter a single number (17) or offset, number (10,17). Offset is how many records to skip before returning results.

If this field is left blank, it returns all records.

report85

  1. If a Widget Type of Table was selected. The next step is to list the columns in the order you would like them to be displayed.

report85

  1. Once the items in the Advanced tab are identified, the labels for the X and Y axis can be defined.

Click on the Settings tab and click on the Widget Label (Y-Axis) select the column to be used for the Y-axis.

report86

  1. Next, click on the Widget Label (X-Axis) select the column to be used for the X-Axis

report87

  1. When all components are defined for the Widget, Click on the Ok button to save the criteria for the Widget, or click on the Cancel to cancel creating the new Widget for the Report.

  2. You can now either add another Widget or update an existing Widget. Once you are done you can either click on the OK button to save your report and it will run at the scheduled time. You can click on Cancel to cancel creating the new Report. You may also click on Now to run a test report.

  3. If Now was selected, a Run Report window opens.

report87a

  1. Select a Begin and End time. Suggest time frame for a test report is 15 to 30 minutes.

  2. Click on the OK to run the Test Report or click on the Cancel to cancel running the Test Report now.

4.4. Editing Existing Reports

Existing Reports can be edited at any time, by following these steps:

  1. On the navigation panel, click on Reports ‣ Manager.

report90

  1. The Reports Dashboard opens.

  2. Double click on the desired report to change.

  3. The “Reports Editor” window opens showing the current settings for the selected Report.

The following fields can be modified in the Required tab:

  • Template

  • Begin Date

  • End Date

  • Frequency

  • Output Type

  • Group

report91

  1. If there is information in the Optional tab that needs to be changed, click on the Optional tab.

The following information can be changed on this tab:

  • Report Details

  • Cover Page Details

  • Filter

  • E-mail Recipients

report92

  1. If changes need to be made to the Widgets. Click on the Widgets tab.

  • A new Widget can be added by clicking on the Add button.

  • Widgets can be imported by clicking on the Action ‣ Import button.

  • Widgets can be exported by clicking on the Action ‣ Export button.

  • Widgets can be removed by clicking on the Action ‣ Delete button.

  • Reports can be unlocked by clicking on the Unlock button.

report93

4.5. Moving Reports to another Group

If a Report is to be moved to another Group, Follow these steps:

  1. On the navigation panel, click on Reports ‣ Manager.

report94

  1. The Reports Dashboard opens.

  2. Click on the desired Report or Reports to move.

  3. Click on the Action ‣ Move button.

report95

  1. The “Move Reports” window opens.

Click on the Group where the selected Report or Reports is to be moved.

report96

  1. Click the OK button to move the selected Report or Reports. To stop the move, click on the Cancel button.

4.6. Exporting Reports

If a Report is to be exported to a csv file, Follow these steps:

  1. On the navigation panel, click on Reports ‣ Manager.

report97

  1. The Reports Dashboard opens.

  2. Click on one or more desired reports to export.

  3. Click on the Action ‣ Export button.

report98

  1. Select the destination for the report to be exported to and click on “save” button.

  2. The Report is now Exported to the destination file.

4.7. Importing Reports

If a Report is to be imported, follow these steps:

  1. On the navigation panel, click on Reports ‣ Manager.

report99

  1. The Reports Dashboard opens.

  2. Navigate to the desired Group to import into.

  3. Click on the Action ‣ Import button.

report100

  1. The “Choose File to Upload” window opens.

  2. Click on the file to import.

  3. Click on the “Open” button.

report101

  1. The selected file is imported into the Reports Dashboard.

4.8. Deleting Reports

If a Report is to be permanently deleted, follow these steps:

  1. On the navigation panel, click on Reports ‣ Manager.

report102

  1. The Reports Dashboard opens.

  2. Click on one or more Reports to delete.

  3. Click on the Action ‣ Delete button.

report103

  1. A confirmation dialog box opens to confirm that the selected Report is to be permanently deleted. Click on the “Yes” button to delete the selected Report. If the selected report is not to be removed, click on the “No” button.

report104

Note

When deleting a report, It will only delete it from the User Interface. The report will still exist on the backend server located at ‘/var/www/hawk-data/reports’. If a report is accidently deleted notify the System Administrator to recover the file.

4.8.1. Scheduled Reports

Reports can be Scheduled, by following these steps:

  1. On the navigation panel, click on Reports ‣ Scheduled.

report105

  1. The Scheduled Reports Dashboard opens.

The Widget information shown on this Dashboard includes:

  • Reports per Group -

  • Report Status - Which the number and percentage of Reports which failed and which were successful.

  • Reports per User - Shows the number of Reports each user requested.

The bottom section of this Dashboard shows the following information about the Reports which have been scheduled to run on specific intervals:

  • Name

  • Details

  • Groups

  • Username

  • Status of the Report which indicates whether the Report Completed, Failed, Pending, In Progress, or Canceled.

  • Status Message

  • Beginning Date and Time for the Report

  • Ending Date and Time for the Report

  • Date the Report was added to the schedule

Note

When the report is processing, an icon appears in the far right column on the row of the report being processed, clicking on that icon stops processing of that report.

4.9. Viewing/Downloading Scheduled Reports

The Scheduled Reports can be viewed by following these steps:

  1. On the navigation panel, click on Reports ‣ Scheduled.

report106

  1. The Scheduled Reports Dashboard opens.

  2. Double-click on the Report to view. The Report opens in either a PDF or CSV format, depending on the report configuration.

  3. You can also select one or more reports that you want to download.

  4. Click on the Action ‣ Download button.

report107

  1. Select the destination for the report to be saved to and click on “save” button.

4.10. Deleting Scheduled Reports

The Scheduled Reports can be permanently deleted by following these steps:

  1. On the navigation panel, click on Reports ‣ Scheduled.

report108

  1. The Scheduled Reports Dashboard opens.

  2. Click on the Report or Reports to delete.

  3. Click on the Action ‣ Delete button.

report109

  1. A confirmation dialog box opens to confirm that the selected Scheduled Report or Reports is to be permanently deleted. Click on the “Yes” button to delete the selected Scheduled Report. If the selected Scheduled Report is not to be removed, click on the “No” button.

report110

4.10.1. Working with Report Templates

There are a variety of Templates defined that are available for use any time. However, there are oftentimes a need to create a new Dashboard Template. Follow these steps to view the Templates section for Dashboards.

  1. On the navigation panel, click on Templates ‣ Reports.

report111

  1. The Report Templates Dashboard window opens.

A list of the existing Dashboard templates are shown with the following information:

  • Name - Name of the Report Template

  • Details - Details of the Report Template

  • Category - Category the Report Template belongs to.

4.11. Creating a New Report Template

In order to create a Template that can be used for new Report, this section describes the steps to create a Template for a Report.

  1. On the navigation panel, click on Templates ‣ Reports.

report112

  1. The Report Templates Dashboard window opens.

  2. To create a new Report Template, click on the Add button.

  3. The Reports Template Editor window opens.

  4. The first step is to enter the name of the Report in the Report Name field.

  5. The next step is to add some details that further describes the purpose of the report in the Report Details field.

report113

  1. The next steps is to select the filter by clicking on the Filter field and selecting the desired filter.

The full list of selections for the Filter is shown in the reference guide.

A sample of the filters available include:

  • Distinct Count

  • Count

  • Minimum

  • Maximum

  • Average

  • Day

  • Hour

report114

Note

Filter is an optional field.

  1. The next section to select is the Category field.

To select the Category, click on the Category field, and select the desired Category.

Types of Categories include:
  • Security

  • Vulnerability

  • Trojan/Malware

  • Network

  • Security

  • Compliance

report115

  1. Click on the “Widgets” tab.

  2. To add a new Widget, click on Add button. The Widget Editor window opens:

report116

  1. To use a Widget template select it from the drop down list, otherwise continue to the next step.

  2. Enter the Widget Name.

  3. Enter the Widget Details that better describes the data contained in the Widget.

  4. The next item to define for the Widget is the Widget Type, which identifies the manner in which the data is displayed on the Dashboard. There are several Widget Types available, including:

  • Bar Graph

  • Group Bar Graph

  • Pie/Circle Graph

  • Timeline Graph

  • Map

  • Table

  • Trending (small) Portlet

  • Trending (Large) Portlet

  • Node-Link Relationship

Note

If you select Table X-Axis and Y-Axis do not appear. All other graph types will show the X-Axis and Y-Axis options.

  1. The next criteria to define for the Widget is the Data Resource.

Click on the drop-down arrow by Data Resource to select the desired resource. The options include:

  • Events

  • Resource

  • Incidents

  • Vulnerabilities

  • Audit

  1. Click on the “Advanced” tab.

report117

  1. Click on the field for Columns, and click on the desired columns.

  2. The next step is to select the Filter for the Widget. (i.e. weight >= ‘9’)

  3. The next step is to identify how the data on the Widget is grouped. Select an available column.

Note

After selecting a Group by column it is required to add a Aggregation column above in the Columns section. For example, If you want to group by ‘alert_name’ you will need to add a Aggregation column ‘count alert_name’.

  1. The next step is to identify how the data will be sorted. Click on the Sort field and select the column on which the data is sorted.

  2. The next step is to enter the limit the number of results that are returned in the Limit field.

Note

An offset can be entered into the Limit field, which specifies the number of records the system can skip before returning results. For example, ‘10,100’ indicates that it only returns records between the 10th and 100th records.

  1. Once the items in the “Advanced” tab are identified, the labels for the X-Axis and Y-Axis can be defined.

Click on the “Settings” tab and click on the Widget Label (Y-Axis) to be used for the Y-Axis.

Next, click on the Widget Label (X-Axis) to be used for the X-Axis.

  1. Click on the OK button to save the new Widget, or click on the Cancel button to discard the new Widget.

  2. Next step is to either create more Widgets or modify the existing Widgets by repeating steps 10 through 24.

  3. Final step is to click on the OK button to save the new Report Template, or click on the Cancel button to discard the new Report Template.

4.12. Exporting a Reports Template

If the Reports templates needs to be exported to a CSV file, follow these steps:

  1. On the navigation panel, click on Templates ‣ Reports.

report118

  1. The Report Templates Dashboard window opens.

  2. Click on one or more of the Templates to Export.

  3. Click on the Action ‣ Export button.

report119

  1. Select the destination for the Report Template to be exported to and click on the “Save” button.

  2. The Report Template is now exported to the destination file.

4.13. Importing a Reports Template

If the Reports Template needs to be imported, follow these steps:

  1. On the navigation panel, click on Templates ‣ Reports.

report120

  1. The Report Templates Dashboard window opens.

  2. Navigate to the desired Group to import into.

  3. Click on the Action ‣ Import button.

report121

  1. The “Choose File to Upload” window opens.

  2. Click on the file to import.

  3. Click on the “Open” button.

  4. The Selected file is imported.

4.14. Deleting a Report Template

If a Report Template needs to be deleted, follow these steps:

  1. On the navigation panel, click on Templates ‣ Reports.

report122

  1. The Report Templates Dashboard window opens.

  2. Click on one or more Report Templates to remove.

  3. Click on the Action ‣ Delete button.

report123

  1. A confirmation dialog box opens to confirm that the correct Report Template was selected to be deleted. Click on the “Yes” button to confirm the delete, or click on the “No” button to cancel the delete action.

report124

Warning

Any modifications to the Templates cannot be “UnDone”. To correct modifications in error, the Template must be either recreated or edited.