Monitor CSE Events with the CSE App for Splunk
How-to guideAdd a dashboard, alerts, and reports in Splunk for the Cloud Secure Edge (CSE) events that the CSE Add-on for Splunk collects
- Last validated: Dec 1, 2026
- 10 minutes to read
- How the app works
- Prerequisites
- Step 1: Install the app
- Step 2: Set the CSE index
- Multi-tenant deployments
- Dashboard
- Alerts
- Reports
- Troubleshooting
- Upgrade the app
- Support
- Related
How the app works
The SonicWall Cloud Secure Edge (CSE) App for Splunk adds a dashboard, alerts, and reports in Splunk. It works on the CSE events that the SonicWall Cloud Secure Edge Add-on for Splunk collects. Use it to watch event collection, review access and sign-in activity, check device trust, and investigate Internet Access blocks, without writing searches.
The app works together with the add-on:
| Package | What it does | Where to install |
|---|---|---|
| SonicWall Cloud Secure Edge Add-on for Splunk | Collects CSE events through the CSE Events API and maps them to the Splunk Common Information Model (CIM) | The instance that collects, and the search heads |
| SonicWall Cloud Secure Edge App for Splunk | Adds a dashboard, alerts, and reports for the collected events | The search heads |
The app contains no data inputs, no code, and no credentials. It only searches data that is already in Splunk.
Prerequisites
You need the following before you install the app:
- The add-on. The SonicWall Cloud Secure Edge Add-on for Splunk 1.0.0 or later, installed on the same search heads and collecting CSE events.
- Splunk. Splunk Cloud Platform, or Splunk Enterprise 10.2 or later.
Step 1: Install the app
Install the app on your search heads. Heavy forwarders and indexers do not need it.
1.1 In Splunk Web, select Apps > Find More Apps.
1.2 Search for SonicWall Cloud Secure Edge, and select Install for SonicWall Cloud Secure Edge App for Splunk.
To install on Splunk Enterprise from a file instead, download the package from Splunkbase, and select Apps > Manage Apps > Install app from file.
If your Splunk Cloud Platform stack does not allow self-service installation, ask Splunk Support to install the app from Splunkbase.
Step 2: Set the CSE index
Every dashboard panel, alert, and report finds CSE events through one search macro, sonicwall_cse_index. Set the macro to the index or indexes that hold your CSE events as soon as you install the app. The app needs no other setup.
The app sets the macro to index=* when you install it, so the dashboard shows data straight away. Do not leave it that way. With index=*, every panel searches every index that the user can read. The searches run slowly, and in a shared deployment they can include data that does not belong in this app.
Find the indexes that hold CSE events
The add-on writes events to the index set in the Index field of each of its inputs. To list the indexes that hold CSE events, run this search in Search & Reporting over the last 7 days:
| tstats count where index=* sourcetype="sonicwall:cse:event" by index
Set the macro
You need the admin role, or sc_admin in Splunk Cloud Platform, to change the macro.
2.1 Select Settings > Advanced search > Search macros.
2.2 Set App to SonicWall Cloud Secure Edge App for Splunk, and set Owner to Any.
2.3 Select sonicwall_cse_index.
2.4 In Definition, replace index=* with your CSE indexes. Use one of the forms in the table below.
2.5 Select Save.
| Your deployment | Definition |
|---|---|
| One index for all CSE events | index=cse |
| Several indexes, for example one per CSE organization or customer | (index=cse_customer_a OR index=cse_customer_b OR index=cse_customer_c) |
| Several indexes that share a naming pattern | index=cse_* |
Use the index names from the search in Find the indexes that hold CSE events. Keep the parentheses when you list more than one index. A pattern such as index=cse_* also includes indexes created later with the same prefix, so new customers appear without a change to the macro.
Check the result
Run this search over the last 7 days. The result lists every index and organization that the first search found, and no other index.
`sonicwall_cse_events` | stats count by index, org_name
Then open the dashboard, and check that the CSE events in the time range panel shows events.
Multi-tenant deployments
These points apply to partners and service providers who collect CSE events for several customers.
- One app for all customers. List every customer index in the macro, as in Set the macro. The dashboard then covers all of them, and the Organization filter shows one CSE organization at a time.
- What each user can see. The macro only selects where the app searches. It does not grant access. Splunk shows each user only the events in the indexes that the user’s roles allow. A customer user whose role can read only
cse_customer_atherefore sees only that customer’s data on the dashboard and in reports. To separate customers, give each customer its own index and a role restricted to it, in Settings > Roles > Indexes. - Shared index. If several customers share one index, every user who can read the index sees all of their events. Use separate indexes when customers must not see each other’s data.
- Alerts. An enabled alert covers every index in the macro. Each result about CSE events shows the organization (
org_name) and the user, so you can route it to the right customer. For example, you can add a separate alert action for each organization. - New customers. When you add an add-on input for a new customer with a new index, add the index to the macro. A macro whose naming pattern already includes the new index needs no change.
Dashboard
Open the app from the Splunk app menu, in Apps > SonicWall Cloud Secure Edge App for Splunk. Its home page is the Cloud Secure Edge Overview dashboard, which has four tabs.
Filters
The filters at the top of the dashboard apply to every panel on every tab.
| Filter | Description |
|---|---|
| Time range | The period to show. The default is the last 24 hours. |
| Organization | One CSE organization, also called a tenant, or All |
| User | One user, or All. Events with no CSE user show the user unknown. |
| Device | One device, by its friendly name in CSE, or All |
| Client IP | One client IP address, or All |
Each list shows the most frequent values first, with their event counts. Choosing a value hides the events that do not have one. For example, choosing a user hides events with no user, such as Internet Access status changes.
Ingestion and health
| Panel | What it shows |
|---|---|
| CSE events in the time range | The number of CSE events, with a note on where the data comes from |
| Events over time by type | Event volume per CSE event type |
| Events by type, sub-type, and action | Every kind of event received, with its count, severity, and when it was last seen |
| Delay from event to Splunk | The median, 95th percentile, and maximum minutes between the time of an event in CSE and its indexing in Splunk |
| Add-on collection health | For each add-on input, the completed runs, events collected, highest collection lag, errors, and warnings, from the add-on log |
A delay of a few minutes is normal, because the add-on waits for CSE to store late events before it collects them. This wait is the settle lag of the input. The Add-on collection health panel needs access to the _internal index, so users without that access see no rows in it.
Access and sign-ins
| Panel | What it shows |
|---|---|
| Services accessed | Each private service, with its users, devices, connections, denials, and when it was last used |
| Users with the most access denials | The 25 users with the most blocked connections, blocked requests, and refused sign-ins, with the reasons |
| Sign-ins by location | Granted and denied sign-ins per country and city |
| Failed administrator sign-ins | Each failed sign-in to the CSE Command Center, with the method, client IP address, and user agent |
Devices and trust
| Panel | What it shows |
|---|---|
| Current device trust levels | The latest trust evaluation of each device, with its trust level, score, trust profile, and failed trust factors, lowest score first |
| Most common failed trust factors | Each failed trust factor, with the number of evaluations and devices |
| Devices by platform | Devices per operating system |
Internet Access and threats
| Panel | What it shows |
|---|---|
| Internet Access blocks over time by reason | Blocked web and DNS requests, AI prompt submissions, and downloads, by block reason |
| Blocks by category and reason | Blocks and users per content category and reason |
| Blocks by destination | The 50 most blocked domains, with the event type and reason |
| Malware inspections and blocks | Malware Download Protection inspections and blocks, with the domain and file hash |
Alerts
The app includes seven alerts. All of them are disabled when you install the app, so nothing runs until you enable one. An enabled alert adds its results to Activity > Triggered Alerts. To send results elsewhere, such as to email or a ticketing system, add your own actions. See Enable an alert.
| Alert | Runs | Triggers when |
|---|---|---|
| SonicWall CSE - Add-on collection failing | Every 15 minutes | The add-on logged an error in the last 15 minutes, for example because CSE rejected the API key |
| SonicWall CSE - No events received | Hourly | No CSE event was indexed in the last 2 hours |
| SonicWall CSE - Device trust level dropped to AlwaysDeny | Hourly | The trust level of a device changed to AlwaysDeny |
| SonicWall CSE - Failed administrator sign-in | Hourly | A sign-in to the CSE Command Center failed |
| SonicWall CSE - Malware download blocked | Hourly | Malware Download Protection blocked a file |
| SonicWall CSE - Repeated access denials for one user | Hourly | One user was denied 5 or more times within an hour |
| SonicWall CSE - Sign-in from a new country for a user | Hourly | A user signed in from a country not seen for that user in the previous 14 days. Users with no earlier sign-ins are skipped. |
Alerts that look further back than their schedule select new events by the time Splunk indexed them. Events that arrive late are therefore still checked, and no event triggers an alert twice.
CSE logs failed administrator sign-ins and malware blocks at INFO severity, so these alerts do not filter on severity.
Enable an alert
1. Select Settings > Searches, reports, and alerts.
2. Set App to SonicWall Cloud Secure Edge App for Splunk, and set Owner to All.
3. For the alert, select Edit > Enable.
4. To add an action, select Edit > Edit Alert, and then select Add Actions. Choose an action, for example Send email, and select Save.
Adjust an alert
Some alerts contain a threshold that you can change to suit your environment. For the alert, select Edit > Edit Search, and change the value.
| Alert | Threshold | Where in the search |
|---|---|---|
| No events received | 2 hours without events | relative_time(now(), "-2h") |
| Repeated access denials for one user | 5 denials per hour | where denials >= 5 |
Your organization might have quiet periods, for example at night. Raise the threshold of No events received, so that the alert does not trigger during them.
Reports
The reports help with investigations, and they do not run on a schedule. Open them from the Reports menu of the app, and change the time range as needed. The default time range is the last 7 days, except for New users, which uses 14 days.
| Report | Content |
|---|---|
| SonicWall CSE - Device registrations | Devices registered with CSE, with the user, platform, and ownership |
| SonicWall CSE - Internet Access blocks per user | Users with the most blocks, with the domains, categories, and reasons |
| SonicWall CSE - New users | Users whose first CSE event in the last 14 days was within the last day |
| SonicWall CSE - Private services accessed per user | Connections and denials per user and private service |
| SonicWall CSE - Sign-in locations per user | Countries and cities each user signed in from |
| SonicWall CSE - Top sources of denials | Client IP addresses and locations with the most denials and refused sign-ins, with the users involved |
Troubleshooting
| Symptom | Cause and action |
|---|---|
| Every panel is empty | No CSE events are in the time range or in the indexes of the macro. Check that the add-on is collecting, on its Inputs tab and in the Add-on collection health panel. Then widen the time range, and check the sonicwall_cse_index macro. |
| A filter offers only All, or misses a value | The filter lists are built from the events in the time range, and they show the 500 most frequent values. Widen the time range. |
| The Add-on collection health panel is empty | Your role cannot read the _internal index, or the add-on runs on another instance whose logs are not forwarded, for example a heavy forwarder. |
| Fields such as user or device are empty | The add-on is not installed on the search head. Install it there as well, because the app relies on its field mappings. |
| Searches are slow | The macro is still index=*. Set it to your CSE index. See Step 2: Set the CSE index. |
| An alert never triggers | Alerts are disabled by default. Enable the alert. See Enable an alert. |
Upgrade the app
To upgrade, install the new version over the existing one. Your changes to the macro and to the alerts are kept.
Support
SonicWall supports the app. To open a case, contact SonicWall Support.
Related
- CSE Add-on for Splunk, for collecting the events that the app shows
- Splunk, for how the two packages fit together
- Event Properties and Definitions, for the fields in each event