> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/viewer-configuration-overall-process/configuring-the-viewer-navigation-panel/spot-monitor-viewer/creating-a-rule.md).

# Creating a Rule on a Spot Monitor Viewer Navigation Panel

1. Click the **Create Rule** button.

   The New Rule Definition pop-up opens.

   ![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-3f88b2672fb99c9e64be71aa3d96d3db1f7bbc7b%2Fspotmonitor_newruledefinition_popup.png?alt=media)
2. Select the Alarm Priority from the drop-down list.
3. Click the appropriate radio button to indicate whether you want to activate the Spot Monitor Viewer from a **Single Source** or **Multiple Sources**.

   **Note:** This provides the option for different panels to display depending on the number of sources in alarm.
4. Click the appropriate radio button for the Event Source(s) you want to use.

   Which option did you select?

   <table><thead><tr><th width="144">If...</th><th>then...</th></tr></thead><tbody><tr><td><strong>All Sources</strong>,</td><td>go to Step 5.</td></tr><tr><td><strong>Specific Sources</strong><br>OR<br><strong>All Sources By Division and Item Type</strong>,</td><td><p>Select the Event Source(s), as follows:</p><ol><li>Click the <strong>Add Event Sources</strong> button.<br>A browse tool displays.<br><img src="https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-e359689e1cc1086224dfc336b98b45dd7c75945e%2Fspotmonitor_selecteventsources_popup.png?alt=media" alt=""><br></li><li>Search for the item(s) you want to use as an Event Source by entering search criteria in the <strong>Search</strong> field and/or refining the filters.<br>The grid becomes populated with items that match the search criteria.</li><li>Click in the checkbox next to the item name you want to include, or click the <strong>Select All</strong> button if you want to include all items.</li><li>Click the <strong>Add Selection</strong> button.<br>The pop-up closes and the item(s) you selected appear in the Event Sources grid.<br><br><strong>Note:</strong> An Event Source can be removed using the <strong>Remove</strong> button.</li></ol></td></tr></tbody></table>
5. Assign the Panel for the Alarm Priority by clicking the appropriate radio button:

   <table><thead><tr><th width="193">If you click...</th><th>then...</th></tr></thead><tbody><tr><td>Choosing an existing panel</td><td>select the required Panel from the drop-down list.</td></tr><tr><td>Copying a Panel</td><td>select the Panel you want to copy from the drop-down list, and enter a name for the Panel to copy to.</td></tr><tr><td>Creating a new Panel</td><td>enter a name for the new Panel.</td></tr></tbody></table>
6. Click the **OK** button.

   The **New Rule Definition** pop-up closes, and the new entry appears in the Panel Rules grid.

   **Note:** The **up** and **down** arrows to the side of the Panel Rules grid can be used to change the order if required, (i.e. select the rule you want to move and click either the up or down arrow to move it).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/viewer-configuration-overall-process/configuring-the-viewer-navigation-panel/spot-monitor-viewer/creating-a-rule.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
