# Configuration

> Configuration for pulumi-logtail.

<!-- Generated from the pulumi-logtail SDK. -->

Configuration for pulumi-logtail.

npm package `pulumi-logtail` version `3.1.4`.
Pulumi bridge `terraform-provider` version `1.4.0`.
Upstream provider `registry.opentofu.org/betterstackhq/logtail` version `11.2.0`.

An explicit provider is `new logtail.Provider(name, args)`. Stack configuration is a `pulumi.Config` object named `logtail`.

A value marked secret is passed through `pulumi.secret` or listed in `additionalSecretOutputs` on the provider resource.

## Fields

| Property          | Type     | Source                                           | Secret | Description                                                                                                                                                                                                                                   |
| ----------------- | -------- | ------------------------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `apiRateBurst`    | `number` | provider args; stack config via config.getObject | no     | Burst size for rate limiter, allows temporary bursts above the rate limit. 0 means use automatic default (2x rate limit, minimum 10).                                                                                                         |
| `apiRateLimit`    | `number` | provider args; stack config via config.getObject | no     | Maximum number of API requests per second. 0 means no limit.                                                                                                                                                                                  |
| `apiRetryMax`     | `number` | provider args; stack config via config.getObject | no     | Maximum number of retries for API requests.                                                                                                                                                                                                   |
| `apiRetryWaitMax` | `number` | provider args; stack config via config.getObject | no     | Maximum time to wait between retries in seconds.                                                                                                                                                                                              |
| `apiRetryWaitMin` | `number` | provider args; stack config via config.getObject | no     | Minimum time to wait between retries in seconds.                                                                                                                                                                                              |
| `apiTimeout`      | `number` | provider args; stack config via config.getObject | no     | Timeout for individual HTTP requests in seconds.                                                                                                                                                                                              |
| `apiToken`        | `string` | provider args; stack config via config.get       | yes    | Better Stack Telemetry API token. The value can be omitted if `LOGTAIL_API_TOKEN` environment variable is set. See https://betterstack.com/docs/logs/api/getting-started/#get-an-logs-api-token on how to obtain the API token for your team. |
