Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Docker Manager → Get Project Logs

AI-generated

Overview

This node interacts with the Hostinger API to retrieve logs for a specific Docker project running on a VPS (Virtual Private Server). It is useful for monitoring and debugging Docker projects hosted on VPS instances managed through Hostinger. For example, a user can fetch the logs of a Docker project to analyze its runtime behavior or troubleshoot issues.

Use Case Examples

  1. Fetch logs of a Docker project named 'my-docker-app' running on a VPS with ID 'vm-12345' to monitor application errors and performance.
  2. Retrieve logs to audit recent activities or errors in a Docker project hosted on a VPS.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS where the Docker project is running. This is required to specify which VPS to query.
Docker Project Name The name of the Docker project for which logs are to be retrieved. This identifies the specific Docker project on the VPS.

Output

JSON

  • response - The JSON response from the Hostinger API containing the logs of the specified Docker project.

Dependencies

  • Hostinger API with authentication credentials

Troubleshooting

  • Ensure the Virtual Machine ID and Docker Project Name are correctly specified; incorrect values will result in API errors or empty responses.
  • Check that the Hostinger API credentials are valid and have the necessary permissions to access VPS Docker project logs.
  • Network connectivity issues may prevent the node from reaching the Hostinger API endpoint; verify internet access and firewall settings.

Links

Discussion