added session config options to influxd cli, resolves #241
parent
66124915b5
commit
00f86ad8b1
|
@ -28,16 +28,18 @@ influxd [command]
|
||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
|
|
||||||
| Flag | Description | Input type |
|
| Flag | Description | Input type |
|
||||||
| :--------------------- | :------------------------------------------------------------------------------------- | :--------: |
|
| :--------------------- | :------------------------------------------------------------------------------------- | :--------: |
|
||||||
| `--assets-path` | Override default assets by serving from a specific directory (developer mode) | string |
|
| `--assets-path` | Override default assets by serving from a specific directory (developer mode) | string |
|
||||||
| `--bolt-path` | Path to boltdb database (default `~/.influxdbv2/influxd.bolt`) | string |
|
| `--bolt-path` | Path to boltdb database (default `~/.influxdbv2/influxd.bolt`) | string |
|
||||||
| `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | boolean |
|
| `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | |
|
||||||
| `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string |
|
| `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string |
|
||||||
| `-h`, `--help` | Help for `influxd` | |
|
| `-h`, `--help` | Help for `influxd` | |
|
||||||
| `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string |
|
| `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string |
|
||||||
| `--log-level` | Supported log levels are debug, info, and error (default `info`) | string |
|
| `--log-level` | Supported log levels are debug, info, and error (default `info`) | string |
|
||||||
| `--reporting-disabled` | Disable sending telemetry data to https://telemetry.influxdata.com | |
|
| `--reporting-disabled` | Disable sending telemetry data to **https:<nolink>//telemetry.influxdata.com** | |
|
||||||
| `--secret-store` | Data store for secrets (bolt or vault) (default `bolt`) | string |
|
| `--secret-store` | Data store for secrets (bolt or vault) (default `bolt`) | string |
|
||||||
| `--store` | Data store for REST resources (bolt or memory) (default `bolt`) | string |
|
| `--session-length` | TTL in minutes for newly created sessions (default `60`) | integer |
|
||||||
| `--tracing-type` | Supported tracing types (log or jaeger) | string |
|
| `--session-renew-disabled` | Disables automatically extending session TTL on request | |
|
||||||
|
| `--store` | Data store for REST resources (bolt or memory) (default `bolt`) | string |
|
||||||
|
| `--tracing-type` | Supported tracing types (log or jaeger) | string |
|
||||||
|
|
|
@ -28,16 +28,18 @@ influxd run
|
||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
|
|
||||||
| Flag | Description | Input type |
|
| Flag | Description | Input type |
|
||||||
| :--------------------- | :------------------------------------------------------------------------------------- | :--------: |
|
| :--------------------- | :------------------------------------------------------------------------------------- | :--------: |
|
||||||
| `--assets-path` | Override default assets by serving from a specific directory (developer mode) | string |
|
| `--assets-path` | Override default assets by serving from a specific directory (developer mode) | string |
|
||||||
| `--bolt-path` | Path to boltdb database (default `~/.influxdbv2/influxd.bolt`) | string |
|
| `--bolt-path` | Path to boltdb database (default `~/.influxdbv2/influxd.bolt`) | string |
|
||||||
| `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | boolean |
|
| `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | |
|
||||||
| `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string |
|
| `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string |
|
||||||
| `-h`, `--help` | Help for `run` | |
|
| `-h`, `--help` | Help for `influxd` | |
|
||||||
| `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string |
|
| `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string |
|
||||||
| `--log-level` | Supported log levels are debug, info, and error (default `info`) | string |
|
| `--log-level` | Supported log levels are debug, info, and error (default `info`) | string |
|
||||||
| `--reporting-disabled` | Disable sending telemetry data to https://telemetry.influxdata.com | |
|
| `--reporting-disabled` | Disable sending telemetry data to **https:<nolink>//telemetry.influxdata.com** | |
|
||||||
| `--secret-store` | Data store for secrets (bolt or vault) (default `bolt`) | string |
|
| `--secret-store` | Data store for secrets (bolt or vault) (default `bolt`) | string |
|
||||||
| `--store` | Data store for REST resources (bolt or memory) (default `bolt`) | string |
|
| `--session-length` | TTL in minutes for newly created sessions (default `60`) | integer |
|
||||||
| `--tracing-type` | Supported tracing types (log or jaeger) | string |
|
| `--session-renew-disabled` | Disables automatically extending session TTL on request | |
|
||||||
|
| `--store` | Data store for REST resources (bolt or memory) (default `bolt`) | string |
|
||||||
|
| `--tracing-type` | Supported tracing types (log or jaeger) | string |
|
||||||
|
|
|
@ -20,6 +20,8 @@ To configure InfluxDB, use the following configuration options when starting the
|
||||||
- [--log-level](#log-level)
|
- [--log-level](#log-level)
|
||||||
- [--reporting-disabled](#reporting-disabled)
|
- [--reporting-disabled](#reporting-disabled)
|
||||||
- [--secret-store](#secret-store)
|
- [--secret-store](#secret-store)
|
||||||
|
- [--session-length](#session-length)
|
||||||
|
- [--session-renew-disabled](#session-renew-disabled)
|
||||||
- [--store](#store)
|
- [--store](#store)
|
||||||
- [--tracing-type](#tracing-type)
|
- [--tracing-type](#tracing-type)
|
||||||
|
|
||||||
|
@ -33,6 +35,8 @@ influxd \
|
||||||
--log-level=info \
|
--log-level=info \
|
||||||
--reporting-disabled \
|
--reporting-disabled \
|
||||||
--secret-store=bolt \
|
--secret-store=bolt \
|
||||||
|
--session-length=60 \
|
||||||
|
--session-renew-disabled \
|
||||||
--store=bolt \
|
--store=bolt \
|
||||||
--tracing-type=log
|
--tracing-type=log
|
||||||
```
|
```
|
||||||
|
@ -135,6 +139,29 @@ influxd --secret-store=bolt
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## --session-length
|
||||||
|
Specifies the Time to Live (TTL) **in minutes** for newly created user sessions.
|
||||||
|
|
||||||
|
**Default:** `60`
|
||||||
|
|
||||||
|
```sh
|
||||||
|
influxd --session-length=60
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## --session-renew-disabled
|
||||||
|
Disables automatically extending a user's session TTL on each request.
|
||||||
|
By default, every request sets the session's expiration time to five minutes from now.
|
||||||
|
When disabled, sessions expire after the specified [session length](#session-length)
|
||||||
|
and the user is redirected to the login page, even if recently active.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
influxd --session-renew-disabled
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## --store
|
## --store
|
||||||
Specifies the data store for REST resources.
|
Specifies the data store for REST resources.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue