Skip to main content

Creating a Query

You can create two types of Queries in JAMS to help you filter the data that is displayed:

  • Monitor Queries
  • History Queries

Accessing Query Management​

  1. Click Environment in the left sidebar.
  2. Click Query Management.

Query Management screen​

  • Query Name - This option is the name of the Query.
  • Description - This option is an optional summary of the Query and its Filters.
  • Type - This option defines the screen where the Query will be used. This can be displayed in the Monitor or History screen.
  • Default - This option displays a checkmark icon if the Query is the default Query for its type. Each type can have one default Query.

Adding a Monitor Query​

You can create a Query to filter the data that is displayed in the Monitor to help ensure you find the information you need. You can modify the steps to build additional Queries or add other Filters.

  1. Open the Query Management screen.

  2. Click Add.

  3. In the Query Name field, enter a name for the Query.

  4. In the Query Type field, select Monitor.

  5. Click Save & Continue.

  6. Optional - On the Summary tab, click Set default to make this Query the default Monitor Query. See Setting a Default Query.

  7. Click the Filters tab.

  8. Add a Filter for the Agent:

    1. Click + Add Filter.
    2. Select a Filter from the drop-down menu. In this example, we've used Executing Agents. The Executing Agents tile is added and its drawer opens.
    3. Select the Agent type and Agent name.
    4. Click Add. The Filter Value is displayed.
    5. Click Save. The drawer closes and the Filter is added to the Query.
  9. Repeat these steps to add additional Filters as needed.

  10. Click Save. The Query is now ready to use.

Viewing the Query in the Monitor​

After the Query is added, you can quickly go to it and view it in the Monitor.

  1. From the Query Management screen, go to the row for the Query you created.
  2. Click under the Actions column for the Query.
  3. Select View in Monitor. The Monitor screen is opened with this Query selected, even if another Query is the default, and the Query runs.
  4. Verify that you see the desired data.

Adding a History Query​

You can create a Query to filter the data that is displayed in the History to help ensure you find the information you need. You can modify the steps to build additional Queries or add other Filters.

  1. Open the Query Management screen.

  2. Click Add.

  3. In the Query Name field, enter a name for the Query.

  4. In the Query Type field, select History.

  5. Click Save & Continue.

  6. Optional - On the Summary tab, click Set default to make this Query the default History Query. See Setting a Default Query.

  7. Click the Filters tab.

  8. Add a Filter for the Completion time:

    1. Click + Add Filter.
    2. Select a Filter from the drop-down menu. In this example, we've used Past Window. The Past Window tile is added and its drawer opens.
    3. Enter 01:00:00 for the Time Span. The Time Span starts at 00:00:00, and the Category is already set to CompletionTime.
    4. Click + Add below the Category field. The Filter Value is displayed.
    5. Click Save. The drawer closes and the Filter is added to the Query.
  9. Repeat these steps to add additional Filters as needed.

  10. Click Save. The Query is now ready to use.

Viewing the Query in the History​

After the Query is added, you can quickly go to it and view it in the History.

  1. From the Query Management screen, go to the row for the Query you created.
  2. Click under the Actions column for the Query.
  3. Select View in History. The History screen is opened with this Query selected, even if another Query is the default.
  4. Click Go.
  5. Verify that you see the desired data.

Query Management Properties​

The Last Change UTC timestamp on the right side of the breadcrumb bar, at the top of the page, shows the date and time in UTC that the Query was last changed.

Summary TabDescription
Query NameThis option is the name of the Query.
Query TypeThis option defines the screen where the Query will be used. This can be displayed in the Monitor or History views.
DescriptionThis option is an optional summary of the Query and its Filters.
Set defaultThis button makes the Query the default for its type. It is shown when the Query is not the default. Any other default Query of the same type is no longer the default.
Reset defaultThis button removes the default from the Query. It is shown when the Query is the default.
Filters TabDescription
Add FilterThis option is used to add a Filter to a Query. Each type of Filter can be added once. Types already in the Query are grayed out and labeled already added.
Clear allThis option is used to remove all Filters from a Query. The Filters are removed as soon as you confirm. This option is unavailable when the Query has no Filters.