Viewing service logsBeta
To view the logs of a service instance:
-
Log in to your VK Cloud management console.
-
Go to the Applications Marketplace section.
-
Open the developer console and switch to the Network tab in it.
-
Use filters: click the XHR/Fetch button and type
/marketplacein the filter input field. -
Select the name of any successful request from the list (one not highlighted in red) and go to the Cookies tab.
-
Find the
sidcookie value in the list and save it. -
Get a JWT authorization token for Marketplace by running the command:
Linux (bash)Windows (cmd)curl -X POST https://cloud.vk.ru/marketplace/api/um/v1/tokens/sid \--cookie 'sid=<SID>'Here
<SID>is the value of thesidcookie.The JWT token will appear in the command response.
-
Get the service instance log:
Linux (bash)Windows (cmd)curl -v https://cloud.vk.ru/marketplace/api/notifications/api/v1/instance?uuid=<UUID> \-H 'Authorization: Bearer <JWT_TOKEN>'Here:
<UUID>is the service instance identifier. You can find the value in your VK Cloud management console on the service instance page — theIDparameter.<JWT_TOKEN>is the JWT authorization token.
Was this article helpful?