From a5990736c3cd927dcc1b76559d553161aeb26962 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:13:32 +0000 Subject: [PATCH 1/3] Initial plan From 3429f589461e7ce6c807505a5d598b542a77b42d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:20:29 +0000 Subject: [PATCH 2/3] Add flux-log-enabled configuration documentation Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com> --- content/influxdb/v1/administration/config.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/content/influxdb/v1/administration/config.md b/content/influxdb/v1/administration/config.md index 3930a5395b..09e8d57a50 100644 --- a/content/influxdb/v1/administration/config.md +++ b/content/influxdb/v1/administration/config.md @@ -784,6 +784,26 @@ Flux queries, set the value to `true`. **Default**: `false` **Environment variable**: `INFLUXDB_HTTP_FLUX_ENABLED` +#### flux-log-enabled + +Determines whether detailed logs for Flux queries are enabled. +When set to `true`, InfluxDB logs detailed information about Flux queries, including: + +- `compiler_type`: Compiler used for processing the query (will always be Flux). +- `response_size`: Size of the response, in bytes. +- `query`: The textual representation of the query. +- `err`: Errors encountered while processing the query. +- `stat_total_duration`: Total duration to process the query. +- `stat_compile_duration`: Duration to compile the query. +- `stat_execute_duration`: Duration to execute the query. +- `stat_total_allocated`: Total allocated memory for the query. + +To enable Flux logging, both `flux-enabled` and `flux-log-enabled` must be set to `true`. +For more information about InfluxDB logging, see [Log and trace with InfluxDB](/influxdb/v1/administration/logs). + +**Default**: `false` +**Environment variable**: `INFLUXDB_HTTP_FLUX_LOG_ENABLED` + #### bind-address {#http-bind-address} The bind address (port) used by the HTTP service. From 92a304477b76542adc5000ce477c57457230bf22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:25:20 +0000 Subject: [PATCH 3/3] Update documentation with reviewer feedback and add Enterprise docs Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com> --- .../configure/config-data-nodes.md | 21 +++++++++++++++++++ content/influxdb/v1/administration/config.md | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/content/enterprise_influxdb/v1/administration/configure/config-data-nodes.md b/content/enterprise_influxdb/v1/administration/configure/config-data-nodes.md index 4a6e54d9a9..c4905f9d2c 100644 --- a/content/enterprise_influxdb/v1/administration/configure/config-data-nodes.md +++ b/content/enterprise_influxdb/v1/administration/configure/config-data-nodes.md @@ -1028,6 +1028,27 @@ Determines whether the Flux query endpoint is enabled. To enable the use of Flux Environment variable: `INFLUXDB_HTTP_FLUX_ENABLED` +#### flux-log-enabled + +Default is `false`. + +Determines whether detailed logs for Flux queries are enabled. +When set to `true`, InfluxDB logs detailed information about Flux queries, including: + +- `compiler_type`: Compiler used for processing the query (typically Flux). +- `response_size`: Size of the response, in bytes. +- `query`: The textual representation of the query. +- `err`: Errors encountered while processing the query. +- `stat_total_duration`: Total duration to process the query. +- `stat_compile_duration`: Duration to compile the query. +- `stat_execute_duration`: Duration to execute the query. +- `stat_total_allocated`: Total allocated memory for the query. + +To enable Flux logging, both `flux-enabled` and `flux-log-enabled` must be set to `true`. +For more information about InfluxDB logging, see [Log and trace with InfluxDB Enterprise](/enterprise_influxdb/v1/administration/logs/). + +Environment variable: `INFLUXDB_HTTP_FLUX_LOG_ENABLED` + #### bind-address Default is `":8086"`. diff --git a/content/influxdb/v1/administration/config.md b/content/influxdb/v1/administration/config.md index 09e8d57a50..d815c3f1f7 100644 --- a/content/influxdb/v1/administration/config.md +++ b/content/influxdb/v1/administration/config.md @@ -789,7 +789,7 @@ Flux queries, set the value to `true`. Determines whether detailed logs for Flux queries are enabled. When set to `true`, InfluxDB logs detailed information about Flux queries, including: -- `compiler_type`: Compiler used for processing the query (will always be Flux). +- `compiler_type`: Compiler used for processing the query (typically Flux). - `response_size`: Size of the response, in bytes. - `query`: The textual representation of the query. - `err`: Errors encountered while processing the query.