---
title: General settings
slug: general-settings
docTags: -YbETaVRDs-7kidtw13bV
createdAt: 2025-09-03T13:57:21.925Z
---

Available at **Configuration > General**, are the following fieldsets:

## API

:::hint{type="warning"}
The information configured here will be incorporated in the Token when configuring collectors. If any of these are changed, existing collectors will need to have their token updated. These settings are only used by the collectors, the historian itself will use the values configured in the configuration file.
:::

### GRPC port

**Description:** The gRPC port is the TCP port used by the historian server to communicate with factry collectors. This should reflect the value entered for GRPC\_PORT variable in the configuration file `/etc/systemd/system/environments/factry-historian-server`. **Default:** 8001

### REST port

**Description:** The REST port is the TCP port on which the historian server REST API and management interface is exposed. This should reflect the value entered for PORT variable in the configuration file `/etc/systemd/system/environments/factry-historian-server`, unless you are using a reverse proxy in front of Factry Historian, in which case this should reflect the port that is exposed by your reverse proxy.
**Default:&#x20;**&#x38;000

### URL

**Description:** This value is used by the factry collectors to derive the ip address to communicate with the historian server API. A valid and reachable URL is required here for collector communication to work.
**Default:** http\://127.0.0.1

## Authentication

### Session inactive duration

**Description:** The time after which an inactive login session expires. This setting accepts duration string literals, eg `1w2d7h15m` (1 week 2 days 7 hours and 15 minutes).
**Default:&#x20;**&#x37;d

### Base URL

**Description:** The URL on which the Factry Historian frontend is available. This settings is important in order for [Google](docId\:qowhoWalnN-Ubm49ea7SP) and/or [Microsoft](docId\:qowhoWalnN-Ubm49ea7SP) authentication providers to work.

## Statistics

### Allow historian to send statistics

**Description:** This setting will enable the historian server to send statistics to our [Portal](docId\:Lm7YlzVoHLouPC6roGmDj). If this setting is disabled, automatic monitoring and alerting will not work.
**Default**: true

## Collector Updates

### Allow historian to check for updates

**Description:** If enabled the historian server will check for updates to the collectors.
**Default:** true

### Update check interval

**Description:** The interval at which the historian server will check for updates to the collectors. This setting accepts duration string literals, e.g., 1w2d7h15m (1 week 2 days 7 hours and 15 minutes).
**Default:** 1h

## General Logs

### Minimum Free Space (MB)

**Description:** The minimum free disk space in MB required to log to disk. If the free disk space falls below this threshold, logs will be dropped.
**Default:** 2048

### Limit logs

**Description:** If enabled, logs sent to the internal database will be rate limited.
**Default:** true

### Log Rate

**Description:** The maximum allowed number of logs per second. If this threshold is exceeded, logs will be dropped.
**Default:** 50

### Log Burst

**Description:** The maximum number of log lines that can be sent in a single burst. This is used to allow a temporary spike of logs.
**Default:** 500

### Limit By Level

**Description:** If enabled, the log rate limit will be applied to each log level separately. If disabled, the limit will be applied to all logs regardless of their level.
**Default:** true

## Audit Logs

### Duration to keep audit logs

**Description:** The duration to keep the audit logs. This setting accepts duration string literals, e.g., `1w2d7h15m` (1 week 2 days 7 hours and 15 minutes). Set to `0d` to keep indefinitely.
**Default:** 0d

## Time-series Cache

### Enabled

**Description:** If enabled, the historian will cache time series data in memory. This will speed up queries but will consume more memory.
**Default:** true

### Global cache size

**Description:** How many points to keep at most in the global cache. Measurements that produce more data will consume more memory, up to the measurement cache size limit.
**Default:** 4194304

### Measurement cache size

**Description:** How many points to keep at most in the cache per measurement. This cannot exceed the global cache size.
**Default:** 4096

