Logs
Get SQL for log query
Build and return the SQL statement that POST /v1/logs/{log-name}/query would execute for the same request body, without running it. Intended for troubleshooting and for building reports outside of NetXMS.
The statement reflects the caller's object access constraints and includes the row limit offset + limit, because paging is done by executing the statement as is and then skipping the first offset records.
post/v1/logs/{log-name}/query-sql
Request body
Response
SQL statement built successfully