Read the log of a DataLens Spark application
datalens_sparkapplications_log_listFetches a paginated fragment of a Spark application log; pass the returned page token back to retrieve subsequent log entries.
Instructions
One fragment of an application's log, and the token of the next one.
Give nextPageToken back as page_token to read on. Experimental in the DataLens API
and written from its document: not measured.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"application_id": "<application_id>"
},
"name": "datalens_sparkapplications_log_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | The most characters the fragment may hold. | |
| cluster_id | Yes | Id of the Spark cluster. | |
| page_token | No | The token of the fragment to read; the first when left out. | |
| application_id | Yes | Id of the Spark application. |