system-cep-topics

Retrieves per-topic statistics for currently registered event contexts. CEP stands for Complex Event Processing.

Command properties

PropertyDescription
Command typeDriver query
Required permissionNone
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

system-cep-topics

Output fields

FieldTypeDescription
topicstringEvent context topic name
countintegerNumber 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

  1. Retrieve per-topic event context statistics

    system-cep-topics
    

    Retrieves the count of currently registered event contexts by topic.

  2. Sort topics by event context count in descending order

    system-cep-topics | sort -count
    

    Sorts topics from most event contexts to fewest.