Skip to main content

Insights Commands

The scm insights commands provide access to monitoring and telemetry data from Strata Cloud Manager, including alerts, mobile users, locations, remote networks, service connections, and tunnels.

Overview

The insights commands allow you to:

  • View security and system alerts with severity filtering
  • Monitor mobile user connections and activity
  • Track location-based metrics and capacity
  • Analyze remote network connectivity and performance
  • Check service connection health status
  • Monitor tunnel status and statistics

Prerequisites

  1. Install pan-scm-cli (see Installation)
  2. Configure authentication (see Configuration)
  3. Ensure your user has appropriate permissions for monitoring data

Commands

Alerts

View and export security and system alerts from your Prisma Access environment.

OptionDescriptionRequired
--listList all alertsNo*
--id TEXTGet a specific alert by IDNo*
--real-timeMonitor alerts in real-time (continuous polling)No*
--severity TEXTFilter alerts by severity (Critical, High, Medium, Low)No
--start DATETIMEFilter alerts starting from this time (ISO format)No
--end DATETIMEFilter alerts up to this time (ISO format)No
--folder TEXTFilter alerts by folderNo
--max-results INTMaximum number of results to return (default: 10)No
--export TEXTExport format (json, csv)No
--output TEXTOutput file path for exportNo

* One of --list, --id, or --real-time is required.

List All Alerts

$ scm insights alerts --list
---> 100%
- id: alert-001
name: Critical CPU Usage
severity: critical
status: active
timestamp: '2026-03-08T10:30:00Z'

Filter Alerts by Severity

$ scm insights alerts --list --severity critical
---> 100%
- id: alert-001
name: Critical CPU Usage
severity: critical
status: active

Filter Alerts by Time Range

$ scm insights alerts --list \
--start "2026-03-01T00:00:00" \
--end "2026-03-08T23:59:59"
---> 100%
- id: alert-001
name: Critical CPU Usage
severity: critical

Get a Specific Alert

$ scm insights alerts --id alert-001
---> 100%
id: alert-001
name: Critical CPU Usage
severity: critical
status: active
timestamp: '2026-03-08T10:30:00Z'
description: CPU usage exceeded 95% threshold
impacted_resources:
- fw-01
- fw-02

Export Alerts to JSON

$ scm insights alerts --list \
--export json \
--output alerts.json
---> 100%
Data exported to alerts.json

Export Alerts to CSV

$ scm insights alerts --list \
--export csv \
--output alerts.csv
---> 100%
Data exported to alerts.csv

Mobile Users

Monitor mobile user connections and activity.

OptionDescriptionRequired
--listList all mobile usersNo*
--id TEXTGet a specific mobile user by IDNo*
--status TEXTFilter by status (connected, disconnected)No
--location TEXTFilter by locationNo
--folder TEXTFilter by folderNo
--max-results INTMaximum number of results to return (default: 100)No
--export TEXTExport format (json, csv)No
--output TEXTOutput file path for exportNo

* One of --list or --id is required.

List All Mobile Users

$ scm insights mobile-users --list
---> 100%
- id: user-001
username: jsmith@example.com
status: connected
location: New York

Filter by Connection Status

$ scm insights mobile-users --list --status connected
---> 100%
- id: user-001
username: jsmith@example.com
status: connected
location: New York

Filter by Location

$ scm insights mobile-users --list --location "New York"
---> 100%
- id: user-001
username: jsmith@example.com
status: connected
location: New York

Get a Specific User

$ scm insights mobile-users --id user-001
---> 100%
id: user-001
username: jsmith@example.com
status: connected
location: New York

Locations

View location-based metrics and capacity information.

OptionDescriptionRequired
--listList all locationsNo*
--id TEXTGet a specific location by IDNo*
--region TEXTFilter by geographic regionNo
--folder TEXTFilter by folderNo
--max-results INTMaximum number of results to return (default: 100)No
--export TEXTExport format (json, csv)No
--output TEXTOutput file path for exportNo

* One of --list or --id is required.

List All Locations

$ scm insights locations --list
---> 100%
- id: loc-001
name: US East
region: us-east
status: active

Filter by Region

$ scm insights locations --list --region us-east
---> 100%
- id: loc-001
name: US East
region: us-east
status: active

Get Location Details

$ scm insights locations --id loc-001
---> 100%
id: loc-001
name: US East
region: us-east
status: active
capacity: 85%

Remote Networks

Monitor remote network connectivity and performance.

OptionDescriptionRequired
--listList all remote networksNo*
--id TEXTGet a specific remote network by IDNo*
--connectivity TEXTFilter by connectivity status (connected, disconnected, degraded)No
--metricsInclude performance metricsNo
--folder TEXTFilter by folderNo
--max-results INTMaximum number of results to return (default: 100)No
--export TEXTExport format (json, csv)No
--output TEXTOutput file path for exportNo

* One of --list or --id is required.

List All Remote Networks

$ scm insights remote-networks --list
---> 100%
- id: rn-001
name: Branch-Office-1
connectivity: connected
site: Dallas

Filter by Connectivity Status

$ scm insights remote-networks --list --connectivity degraded
---> 100%
- id: rn-003
name: Branch-Office-3
connectivity: degraded
site: Austin

Include Performance Metrics

$ scm insights remote-networks --list --metrics
---> 100%
- id: rn-001
name: Branch-Office-1
connectivity: connected
latency_ms: 12
throughput_mbps: 450

Get Specific Network Details

$ scm insights remote-networks --id rn-001 --metrics
---> 100%
id: rn-001
name: Branch-Office-1
connectivity: connected
latency_ms: 12
throughput_mbps: 450
packet_loss: 0.01%

Service Connections

Monitor cloud service connections and their health status.

OptionDescriptionRequired
--listList all service connectionsNo*
--id TEXTGet a specific service connection by IDNo*
--health TEXTFilter by health status (healthy, unhealthy, degraded)No
--metricsInclude performance metrics (latency, throughput)No
--folder TEXTFilter by folderNo
--max-results INTMaximum number of results to return (default: 100)No
--export TEXTExport format (json, csv)No
--output TEXTOutput file path for exportNo

* One of --list or --id is required.

List All Service Connections

$ scm insights service-connections --list
---> 100%
- id: sc-001
name: AWS-US-East
health: healthy
type: aws

Filter by Health Status

$ scm insights service-connections --list --health unhealthy
---> 100%
- id: sc-003
name: Azure-EU-West
health: unhealthy
type: azure

Include Performance Metrics

$ scm insights service-connections --list --metrics
---> 100%
- id: sc-001
name: AWS-US-East
health: healthy
latency_ms: 8
throughput_mbps: 920

Tunnels

Monitor IPSec and SSL tunnel status and performance.

OptionDescriptionRequired
--listList all tunnelsNo*
--id TEXTGet a specific tunnel by IDNo*
--status TEXTFilter by tunnel status (up, down)No
--statsInclude performance statisticsNo
--start DATETIMEFilter historical data from this time (ISO format)No
--end DATETIMEFilter historical data up to this time (ISO format)No
--folder TEXTFilter by folderNo
--max-results INTMaximum number of results to return (default: 100)No
--export TEXTExport format (json, csv)No
--output TEXTOutput file path for exportNo

* One of --list or --id is required.

List All Tunnels

$ scm insights tunnels --list
---> 100%
- id: tunnel-001
name: HQ-to-Branch1
status: up
type: ipsec

Filter by Status

$ scm insights tunnels --list --status down
---> 100%
- id: tunnel-003
name: HQ-to-Branch3
status: down
type: ipsec

Include Statistics

$ scm insights tunnels --list --stats
---> 100%
- id: tunnel-001
name: HQ-to-Branch1
status: up
bytes_in: 1234567890
bytes_out: 987654321

Get Historical Data

$ scm insights tunnels --list \
--start "2026-03-01T00:00:00" \
--end "2026-03-08T23:59:59"
---> 100%
- id: tunnel-001
name: HQ-to-Branch1
status: up

Common Options

All insights commands support these common options:

OptionDescriptionRequired
--folder TEXTFilter by folderNo
--max-results INTLimit the number of results (default varies by command)No
--export TEXTExport format (json or csv)No
--output TEXTOutput file path for exportsNo

Export Formats

JSON Export

Exports data in JSON format with full field details:

[
{
"id": "alert-001",
"name": "Critical CPU Usage",
"severity": "critical",
"status": "active",
"timestamp": "2026-03-08T10:30:00Z",
"description": "CPU usage exceeded 95% threshold",
"impacted_resources": ["fw-01", "fw-02"]
}
]

CSV Export

Exports data in CSV format with flattened fields:

id,name,severity,status,timestamp,description
alert-001,Critical CPU Usage,critical,active,2026-03-08T10:30:00Z,CPU usage exceeded 95% threshold

Notes

  • The insights APIs require appropriate permissions in your Strata Cloud Manager tenant
  • Some metrics and statistics may have a delay of several minutes
  • Export operations respect the --max-results limit
  • Time filters accept ISO timestamps (e.g., 2026-03-01T00:00:00)
  • Alerts default to the last 7 days when no --start time is specified
  • Set the SCM_MOCK=1 environment variable to test without API credentials