ipc_eventlog
Reads Windows event logs on a TwinCAT target IPC and lists TwinCAT/Beckhoff providers so missing providers are flagged, not returned as empty results. Requires confirmation.
Instructions
Windows event log of the target (Windows 7/10/11 IPCs): runs wevtutil on the IPC via the System Service, reads the result back and deletes the temp file. Also lists the event providers registered on the target whose name contains 'TwinCAT' or 'Beckhoff', so a provider that does not exist there (the default name differs between TwinCAT builds) is reported as such instead of an empty result. Not available on Windows CE / TC-BSD targets. Destructive-class because it starts a process on the IPC: confirm with tc_request_confirmation(action='ipc_eventlog', target=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | Application | |
| count | No | ||
| provider | No | TwinCAT System Service | |
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||