# Couchbase

### Supported Platforms

| Platform | Metrics | Logs | Traces |
| -------- | ------- | ---- | ------ |
| Linux    | ✓       | ✓    |        |
| Windows  | ✓       | ✓    |        |
| macOS    | ✓       | ✓    |        |

### Configuration Table

<table><thead><tr><th width="160.203125">Parameter</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>telemetry_types</td><td><code>telemetrySelector</code></td><td><code>["Logs", "Metrics"]</code></td><td>Choose Telemetry Type.</td></tr><tr><td>hostname*</td><td><code>string</code></td><td>"localhost"</td><td>The hostname or IP address of the Couchbase API.</td></tr><tr><td>port</td><td><code>int</code></td><td>8091</td><td>The TCP port of the Couchbase API.</td></tr><tr><td>username*</td><td><code>string</code></td><td></td><td>Username used to authenticate.</td></tr><tr><td>password*</td><td><code>string</code></td><td></td><td>Password used to authenticate.</td></tr><tr><td>collection_interval</td><td><code>int</code></td><td>60</td><td>Sets how often (seconds) to scrape for metrics.</td></tr><tr><td>enable_error_log</td><td><code>bool</code></td><td>true</td><td>Enable to read error logs.</td></tr><tr><td>error_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/error.log"</td><td>Log File paths to tail for error logs.</td></tr><tr><td>enable_info_log</td><td><code>bool</code></td><td>false</td><td>Enable to read info logs.</td></tr><tr><td>info_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/info.log"</td><td>Log File paths to tail for info logs.</td></tr><tr><td>enable_debug_log</td><td><code>bool</code></td><td>false</td><td>Enable to read debug logs.</td></tr><tr><td>debug_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/debug.log"</td><td>Log File paths to tail for debug logs.</td></tr><tr><td>enable_access_log</td><td><code>bool</code></td><td>false</td><td>Enable to read http access logs.</td></tr><tr><td>http_access_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/http_access.log"</td><td>Log File paths to tail for http access logs.</td></tr><tr><td>enable_internal_access_log</td><td><code>bool</code></td><td>false</td><td>Enable to read internal access logs.</td></tr><tr><td>http_internal_access_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/http_access_internal.log"</td><td>Log File paths to tail for internal access logs.</td></tr><tr><td>enable_babysitter_log</td><td><code>bool</code></td><td>false</td><td>Enable to read babysitter logs.</td></tr><tr><td>babysitter_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/babysitter.log"</td><td>Log File paths to tail for babysitter logs.</td></tr><tr><td>enable_xdcr_log</td><td><code>bool</code></td><td>false</td><td>Enable to read xdcr logs.</td></tr><tr><td>xdcr_log_path</td><td><code>strings</code></td><td>"/opt/couchbase/var/lib/couchbase/logs/goxdcr.log"</td><td>Log File paths to tail for xdcr logs.</td></tr><tr><td>start_at</td><td><code>enum</code></td><td>end</td><td>Start reading logs from 'beginning' or 'end'.</td></tr></tbody></table>

<mark style="color:red;">\*</mark>*<mark style="color:red;">required field</mark>*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/integrations/sources/couchbase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
