Skip to content

Tenant Agents

The Tenant Agents page shows your organization's tenant instances and their agent connections. It is visible to users with the Organization Admin role.

Navigate to Administration → Tenant Agents in the portal sidebar.

What is a tenant agent?

A tenant agent is an installation of the kAudit Windows Service Agent on a SQL Server host. Each agent is associated with a tenant (an isolated monitoring environment within your organization) and authenticates to the platform using an agent API key.

Overview panel

At the top of the page you'll see your organization summary:

  • Organization name — your registered company name
  • License tier — your current plan (e.g., Starter, Professional)
  • License expiry — when your subscription renews or expires

Below that, the Tenant Usage panel shows:

  • Current / Max instances — how many tenant instances you've used against your license limit
  • Online / Warning / Offline agents — a count of agents by health status

Tenant instances

The instances table shows each tenant registered to your organization:

ColumnDescription
Tenant NameThe display name for this tenant
Tenant IDUnique identifier used in agent configuration
IndustryThe industry sector assigned to this tenant
StatusActive or Inactive
Agent StatusHealthy / Warning / Offline (shown as a colored status chip)
Last HeartbeatWhen the agent last checked in

Agent health statuses

StatusMeaning
🟢 HealthyAgent is sending events and heartbeats normally
🟡 WarningHeartbeat received but event volume is lower than expected
🔴 OfflineNo heartbeat in the expected window — agent may be down

Managing API keys

Each tenant has one or more API keys used by the agent to authenticate. To manage keys:

  1. Click the actions menu () next to a tenant in the table.
  2. Select Manage API Keys.
  3. The API Key Management dialog opens showing all keys for that tenant.

Creating a new agent API key

  1. In the API Key Management dialog, click Create Key.
  2. Enter a label (e.g., Production SQL 01).
  3. Optionally set an expiry date.
  4. Click Create.
  5. Copy the key immediately — it is shown only once.

Use this key in the agent configuration file.

Rotating a key

Always create the new key first, update the agent, then delete the old key:

  1. Create a new key (steps above).
  2. Update the agent config with the new key and restart the service.
  3. Confirm the agent is healthy (check the Agent Status column).
  4. Revoke the old key from the API Key Management dialog.

WARNING

Revoking a key immediately stops it from working. The agent will stop sending events until it is reconfigured with a valid key.

Heartbeat history

Click Heartbeat History next to an agent to see a timeline of recent check-ins. Use this to diagnose connectivity issues or confirm an agent came back online after maintenance.

SQL Audit Monitoring, made simple.