--- title: "system.eventstream.getDiagnostics" description: "Retrieves diagnostics for an event stream." --- # system.eventstream.getDiagnostics > Retrieves diagnostics for an event stream. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) 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 ```python title="Example #1" # Retrieve the diagnostics from the "listener" event stream located within the "event-stream" project. system.eventstream.getDiagnostics("event-stream", "listener") ```