Read EMQX Trace Log
emqx_get_trace_logRetrieve log entries captured by an EMQX trace. Reads the buffered trace events even after the trace finishes, with optional truncation limit.
Instructions
Read what a trace captured.
A trace that is still running usually returns little or nothing — its events sit in an in-memory buffer until the trace expires.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Trace name to read. | |
| max_bytes | No | Truncate the log at this many bytes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||