mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation retrieves logs for a specific container service within a stack from the mittwald mStudio API. It is useful for monitoring and debugging containerized services by accessing their runtime logs directly through n8n workflows. For example, a DevOps engineer can automate log retrieval to analyze recent errors or performance issues in a particular service without manually accessing the hosting environment.

Properties

Name Meaning
Stack Id The identifier of the stack that contains the target service. The default stack ID equals the project ID. This specifies the scope of the service.
Service Id The identifier of the specific service whose logs you want to retrieve.
Tail The number of most recent log lines to return. If set to 0 or omitted, the full log is returned.

Output

The node outputs JSON data containing the logs of the specified service. The exact structure depends on the API response but typically includes log entries as text lines or structured log objects. There is no indication that binary data is output by this operation.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de to send requests.
  • No additional external dependencies are indicated beyond the bundled OpenAPI client library.

Troubleshooting

  • Missing or invalid Stack Id or Service Id: The API will likely return an error if these required identifiers are incorrect or missing. Ensure they are correctly provided.
  • Authentication errors: If the API key credential is not configured properly or has expired, authentication will fail.
  • Large log size issues: Requesting the full log (tail=0) might result in large responses causing timeouts or memory issues. Use the "Tail" property to limit the number of log lines.
  • Network connectivity: Ensure that the n8n instance can reach the api.mittwald.de endpoint.

Links and References

Discussion