system.eventstream.getDiagnostics
This function is used in Python Scripting.
Description​
Retrieves diagnostics for an event stream.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.eventstream.getDiagnostics(project, path)
Parameters​
Type | Parameter | Description |
---|---|---|
String | project | The project the event stream belongs to. |
String | path | The path to the event stream resource. |
Returns​
Nothing
Scope​
Gateway
Code Examples​
Example #1
# Retrieve the diagnostics from the "listener" event stream located within the "event-stream" project.
system.eventstream.getDiagnostics("event-stream", "listener")