# Log

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

## Log

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

| Method            | Request                   | Response                    |
| ----------------- | ------------------------- | --------------------------- |
| [**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

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

### LogRequest

| Field            | Type                                                                                                               | Required | Description |
| ---------------- | ------------------------------------------------------------------------------------------------------------------ | :------: | ----------- |
| data\_source\_id | string                                                                                                             |     ✔    |             |
| resource\_id     | string                                                                                                             |     ✔    |             |
| keyword          | string                                                                                                             |     ✘    |             |
| start            | string                                                                                                             |     ✘    |             |
| end              | string                                                                                                             |     ✘    |             |
| sort             | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto) |     ✘    |             |
| limit            | [int32](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/type.proto)                    |     ✘    |             |
| domain\_id       | string                                                                                                             |     ✔    |             |
