---
title: "Get Elastilog"
method: GET
path: "/azure/compute/group/{groupId}/logs"
tags: ["Elastigroup Azure Spot VMs"]
---

# Get Elastilog

`GET /azure/compute/group/{groupId}/logs`

You can fetch a Elastigroup's Elastilog via the Spot API, in order to be able to consume elastilog from various tools used for log storing and analyzing. Logs have retention of 3 months back from today, so minimal fromDate should be up to 3 months back at runtime.

## Query parameters

- `SEVERITY` 'DEBUG' | 'WARN' | 'INFO' | 'ALL' | 'ERROR'
- `RESOURCE_ID` string
- `limit` integer

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref
- `#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0` — unresolved $ref
- `#/paths/~1azure~1costs/get/parameters/1` — unresolved $ref
- `#/paths/~1azure~1costs/get/parameters/2` — unresolved $ref

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
