system-cep-topics
Retrieves per-topic statistics for currently registered event contexts. CEP stands for Complex Event Processing.
Command properties
| Property | Description |
|---|---|
| Command type | Driver query |
| Required permission | None |
| License usage | Not counted |
| Parallel execution | Not supported |
| Distributed execution | Not supported |
Syntax
system-cep-topics
Output fields
| Field | Type | Description |
|---|---|---|
| topic | string | Event context topic name |
| count | integer | Number of event contexts for the topic |
Error codes
Parsing errors
N/A
Runtime errors
N/A
Description
The system-cep-topics command aggregates currently registered event contexts by topic and returns the count of event contexts for each topic.
Register event contexts with the evtctxadd command, remove them with the evtctxdel command, and retrieve detailed listings with the evtctxlist command.
Examples
-
Retrieve per-topic event context statistics
system-cep-topicsRetrieves the count of currently registered event contexts by topic.
-
Sort topics by event context count in descending order
system-cep-topics | sort -countSorts topics from most event contexts to fewest.