diff --git a/linux/observability-agent-autoconf.sh b/linux/observability-agent-autoconf.sh index 54b5a1c..27c3ddd 100755 --- a/linux/observability-agent-autoconf.sh +++ b/linux/observability-agent-autoconf.sh @@ -288,7 +288,7 @@ prometheus.remote_write "default" { } logging { - level = "debug" + level = "${log_level:-warn}" format = "logfmt" } diff --git a/readme.md b/readme.md index 1a3c201..db8af36 100644 --- a/readme.md +++ b/readme.md @@ -76,11 +76,12 @@ To add integrations without being prompted for credentials, there are several en ### Ingest -| Variable | Type | Description | -|--------------------|----------|----------------------------------------------------------------| -| `api_key` | `string` | API Key to authenticate with your FusionReactor Cloud Account | -| `metrics_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/metrics` | -| `logs_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/logs` | +| Variable | Type | Description | +|--------------------|----------|--------------------------------------------------------------------------------------| +| `api_key` | `string` | API Key to authenticate with your FusionReactor Cloud Account | +| `metrics_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/metrics` | +| `logs_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/logs` | +| `log_level` | `string` | Sets the log level. Valid values: "error", "warn", "info", "debug". Default: "warn" | ### Metric Exporters