---
title: "Commands"
description: ""
url: "https://docs.itrsgroup.com/docs/itrs-analytics/app/entities/1.22.0/user-guide/commands/index.html"
---
The Commands app lets you run Geneos commands from the Entity Viewer so you can execute processes and commands without switching to the Active Console. You can monitor queued and running command status, manage history (rerun or clear commands), and review command output, execution logs, and audit details.

## Prerequisites

Before you proceed, ensure that you have:

- Installed the the ITRS Analytics Commands app.
- Configured Geneos commands for ITRS Analytics. To learn how to configure commands in Geneos to work with the commands function in ITRS Analytics, see [Configure Geneos commands and data for ITRS Analytics](https://docs.itrsgroup.com/docs/geneos/current/processing/data-access-and-publishing/configure-geneos-data-for-itrs-analytics/index.html).

## Trigger commands from an entity

Through the Commands app, commands set up in the Geneos Gateway Setup Editor can be accessed right in the Entity Viewer app. Commands are indicated by a left arrow for quick visual distinction. 

![Execute commands](https://docscdn.itrsgroup.com/itrs-analytics-app-entities/images/execute-commands-1-17-0.gif)

Right-click on an entity, headline, or metric to display the available commands. After running the command, check if the command has successfully completed or failed in the Commands panel.

To review the command history, click **View preview**  and switch between the **Output**, **Execution log**, **Error log**, or **Summary** tabs.

## View command status

Open the **Commands** panel by clicking the bell icon next to the search bar. From there you can see queued and running command status, browse command history, and rerun any command in the list.

![Commands page](https://docscdn.itrsgroup.com/itrs-analytics-app-entities/images/iax-entity-viewer-commands-page-1-17-0.png)

Endpoints from an API which is not publicly exposed and only internally accessible to ITRS Analytics also allow you to:

- Clear completed, failed, and cancelled commands
- Clear a single command execution history
- Subscribe to the output of a single command

## Review command audit history

On the Commands page, click **View Command Audit History**  to review detailed information about each command's execution, including dimensions, targets, status, timestamp, and more.

![Commands audit history page](https://docscdn.itrsgroup.com/itrs-analytics-app-entities/images/iax-entity-viewer-command_audit-1-17-0.png)

