Zum Hauptinhalt springen

Get an analysis of the logs belonging to a Service

GET/v2/stacks/{stackId}/services/{serviceId}/log-analysis/
API version
v2
Request method
GET
Operation ID
container-get-service-logs-analysis

Request

  • stackIdstring (uuid)
    required

    ID of the Stack the Service belongs to. ID of the default Stack equals the ID of the Project.

  • serviceIdstring
    required

    ID of the Service to analyze the logs of.

Responses

Format
application/json
Beschreibung

OK

  • recommendationstring
  • summarystring
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/stacks/f0f86186-0a5a-45b2-aa33-502777496347/services/string/log-analysis