Disabling or setting session idle timeout

Hello all,

I am currently asking if there is any way to configure InfluxDB so that there is no idle timeout? Such as if i left InfluxDB alone for a few hours , it wouldn’t log me out

Thankss!

2 Likes

Hi @KaiJ17,
I am not sure if I know off the top of my head. I will ask when everyone is back tommorow. The only one i can think of is an InfluxDB server config paramterL

1 Like

@Jay_Clifford Thank you! ill try it out myself too!

Hello,
I bumped at this post since I wanted to do the same. In order to set longer timeout there are two settings that need to be configured:

Steps:
In /etc/influxdb/config.toml file add:

session-renew-disabled = true
session-length = 1440 # session renewal after 1 day

Restart influxdb:

systemctl restart influxd

Check if configuration is applied:

influx server-config | grep -i session

 

Tested on:
InfluxDB 2.6.1. OSS
OS: Fedora 36

 

Best regards,
ldrascic

3 Likes

Where can i find this config on Windows?

Yes i know, “why do you even use Windows?” because i’m too dumb for linux

@Philip_Reutzel you edit or create your own custom config file and place it where you launch inlfuxDB:

InfluxDB configuration options | InfluxDB OSS 2.7 Documentation (influxdata.com)

In my case : C:\Program Files\InfluxData\influxdb\influxdb2_windows_amd64

1 Like

Hey,
I have a docker deployment of influxDB. How to make this configuration changes accordingly?