# DBaaS Endpoint Opensearch Input Create

## Properties

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `settings` | [Settings](/reference/api/_schemas/dbaas-endpoint-opensearch-input-create/#settings) | no |  |

### Settings {#settings}

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `index-prefix` | string | **yes** | OpenSearch index prefix<br/><br/>Min length: `1`. Max length: `1000`. |
| `url` | string | **yes** | OpenSearch connection URL<br/><br/>Min length: `12`. Max length: `2048`. |
| `ca` | string | no | PEM encoded CA certificate<br/><br/>Max length: `16384`. |
| `index-days-max` | integer | no | Maximum number of days of logs to keep<br/><br/>Min: `1`. Max: `10000`. |
| `timeout` | integer | no | OpenSearch request timeout limit<br/><br/>Min: `10`. Max: `120`. |

