# Log

> **Package : spaceone.api.monitoring.v1**

## Log

{% hint style="info" %}
**Log Methods:**
{% endhint %}

| NO | Method            | Request Type              | Response Type               | Description |
| -- | ----------------- | ------------------------- | --------------------------- | ----------- |
| 1  | [**list**](#list) | [LogRequest](#logrequest) | [LogDataInfo](#logdatainfo) |             |

### list

> **GET** /monitoring/v1/data-source/{data\_source\_id}/logs

| Type     | Message                     |
| -------- | --------------------------- |
| Request  | [LogRequest](#logrequest)   |
| Response | [LogDataInfo](#logdatainfo) |

## Message

### LogDataInfo

| No | Field      | Type                                                                                                | Description |
| -- | ---------- | --------------------------------------------------------------------------------------------------- | ----------- |
| 1  | logs       | [google.protobuf.ListValue](https://developers.google.com/protocol-buffers/docs/reference/overview) |             |
| 2  | domain\_id | string                                                                                              |             |

### LogRequest

| No | Field            | Type                                                                                                               | Required | Description |
| -- | ---------------- | ------------------------------------------------------------------------------------------------------------------ | :------: | ----------- |
| 1  | data\_source\_id | string                                                                                                             |     ✅    |             |
| 2  | resource\_type   | string                                                                                                             |     ✅    |             |
| 3  | resource\_id     | string                                                                                                             |     ✅    |             |
| 4  | start            | string                                                                                                             |     ❌    |             |
| 5  | end              | string                                                                                                             |     ❌    |             |
| 6  | filter           | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto) |     ❌    |             |
| 7  | sort             | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto) |     ❌    |             |
| 8  | limit            | [int32](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/type.proto)                    |     ❌    |             |
| 9  | domain\_id       | string                                                                                                             |     ✅    |             |
