Traffic Sentinel : Help
Help Index Top > Report > Edit

The Edit page is used create and edit reports.

Topics:

See Also:


How do I create a new report?

To create a new report, click the New Report button. You will be prompted to select a Category for the report, and to enter a Report title and brief Description. Click Submit to create the report and start editing its contents.

Back to Top

How do I edit an existing report?

By default the Edit page shows a table listing all the user defined reports ordered by Category. Simply click on a report in the table to start editing it. If you want to list only reports within a particular Category, set the Category in the filter bar at the top of the page.

To return to the list of reports, change the Category at the top of the page to All.

Back to Top

How do I add sections to a report?

You must first select or create a report to be edited. Once the report is selected you will be presented with a table listing the report sections (this table will be empty if the report is new).

There are two ways to add sections to reports:

  1. Click on the New Section button and select a section (query) to add to the report. You will be returned to the section list with the newly added section at the bottom of the list. You will probably want to change the query settings associated with the new section; click on the Edit button to the right of the section to edit its settings. Click on the Test button to run the query and see what the results will look like in a report.
  2. Alternatively, you can add sections to the report you are currently editing by going to the Sentinel:Report>Query page. Select a query and when you are satisfied with the results, click on the Copy to Editor button and you will be returned to the section list with the new report section added to the end of the list.
  3. Finally, you can add sections to the report you are currently editing by going to the Sentinel:Report>Explore page. Create a chart and when you are satisfied with the results, click on the Copy to Editor button and you will be returned to the section list with the new report section added to the end of the list.

Note: If the Test button next to a report section is disabled, this indicates that required parameters for the report section have not been configured. Click on the Edit button and fill in the missing parameters so that the section is properly configured.

Back to Top

How do I change section settings?

Click on the the Edit button to the right of the section you want to modify. Clicking on the Edit button opens the query form used to generate the data for the report section.

A query form has a tabular structure. Each row is used to specify a particular query parameter. The first column contains the parameter name, the second column contains the parameter input box, the third column may contain a "helper tool" that assist in filling in the input box and finally there may be a fourth column indicating any parameter values that are missing or have errors.

It is usually easier to set parameters using the helper tools rather than typing in settings directly into the input boxes. There are a number of types of helper tool:

Query forms may have a number of different inputs. There may be Usage information at the bottom of the form giving brief, form specific, instructions. In addition,there are a number of common fields that are found in many queries, including: Interval, Truncate, Group and Where.

The Interval input is specifies the time period over which the query will be run.

There are a number of predefined intervals, including:

In addition, time intervals can be specified in the same format as the Unix at(1) command. If necessary the interval can be specified in the form start,stop where the interval runs from the start of the first inteval to the start of the second interval. The following examples demonstrate typical custom time intervals:

The resolution used to compute time intervals is determined by the highest resolution token. For example "midnight + 45 minutes" has a resolution of minute and will generate a 1 minute interval starting at 15 minutes past midnight and "now - 2hours" has a resolution of hour and will generate an interval that falls on an hour boundary and extends for 1 hour.

The Truncate input specifies the number of rows of result to be returned. Values from any truncated rows will be summed and will appear as one additional row at the bottom of a table, or as an Other category in a chart.

Note: If a result table contains fewer rows than the number specified by the truncate setting, then you will be sure that you have details for all the records that matches the query settings. A large truncate value can be used ensure that all records are returned. In this case you should still select a truncate value that ensures that the query won't fail because the server runs out of memory and that your web browser won't fail trying to display the result. A value of 1,000 is usually sufficient for most purposes.

The Group input is used when computing time series to specify the size of each time grouping within the overall query interval.

The group size can be specified either as a number of minutes, or using special tokens. The following examples show typical group values:

Finally, the Where input is used to specify a filter that will be applied during the query to select specific data.

A basic filter expression consists of the name of an attribute, an operator and a set of comma separated values. The allowed operators are:

Expressions can be combined using brackets and the boolean operators:

The following examples illustrate typical where filters:

Note: The special zone EXTERNAL refers to addresses that aren't contained in any of the CIDRs specified using File > Configure.

WARNING Care should be taken if a value in a filter expression contains any of the following special characters: (, ), &, |, !, =, ~, ",', \, comma or space. If the value contains any of these characters then the whole value string can be enclosed in single or double quotes, or the special characters can be individually escaped with a \. The following examples show different ways of using the value "Research & Development" in filters:

Note: Special characters typically occur because they are used in Zone or Group names when configuring Traffic Sentinel (see File>Configure). Care should be taken when filtering on zone, group or path attributes.

At any time, clicking on the Cancel button will close the form without making any changes. Click on the Reset button to undo mistakes and restore settings to the last saved values. Once you are satisfied with the changes, click on the Save Changes button to save the settings.

After saving it is usually a good idea to test the new settings using the Test button next to the report section. The Test button runs the query and shows how the modified section will look in a report.

Note: If the Test button next to a report section is disabled, this indicates that required parameters for the report section have not been configured. Click on the Edit button and fill in the missing parameters so that the section is properly configured.

Back to Top

How can I change the order of sections in a report?

When you have several report section in a report, you may want to change the order in which they appear. To move a section up or down the list, change the Order option for that section and set it to the position you want it to occupy, then click Reorder Sections.

Back to Top

How can I remove a section from a report?

Select the report you want to modify and click on the Remove button next to the section you want to delete.

Back to Top

How can I change the report name and description?

Select the report you want to modify and click on the Edit Heading button at the top of the page.

Back to Top

How can I delete a report?

Select the report you want to delete and click on the Delete Report button at the top of the page.

Back to Top

How can I schedule a report to run?

Select the report you want to schedule and click on the Edit Schedule button at the top of the page. You will be taken to the Sentinel:Report>Schedule settings for the report.

Note: A disabled Edit Schedule button indicates that one or more sections in the report have missing settings. Check to see if any of the sections in the report have a disabled Test button next to them, indicating that the section needs additional configuration settings to run. Click on the Edit button for the section to provide the missing information.

Back to Top

Why is the Test button disabled?

If the Test button next to a report section is disabled, this indicates that required parameters for the report section have not been configured. Click on the Edit button and fill in the missing parameters so that the section is properly configured.

Back to Top

Why is the Edit Schedule button disabled?

A report can only be scheduled to run if all of its sections are fully configured. Check to see if any of the sections in the report have a disabled Test button next to them, indicating that the section needs additional configuration settings to run. Click on the Edit button for the section to provide the missing information.

Back to Top