Documentation forKiwi Syslog Server
Legacy KSS reached its End of Service Life on March 28, 2026. Users should migrate to the next generation of KSS. See the release history for the latest version.

Add an action to log to internal storage in KSS NG

When you use the log to internal storage rule action, internal storage keeps the messages selected by the rule in a local database on the server where KSS NG is installed.

  1. From the Kiwi Syslog NG navigation bar, choose Setup > Rules.
  2. Locate an existing rule. If the rule does not exist, add a rule and start the New Rule wizard.
  3. If you are adding an action to an existing rule, select the rule and click Edit. If you are creating a new rule, navigate to the Actions step of the New Rule wizard.
  4. Click Add Action. Define the action name in the provided field.
  5. In the Action drop-down menu, select Log to internal storage.

Messages are first placed in an in-memory buffer and then written to the database in batches.

When internal storage cannot store messages, other rule actions, such as display, log to file, and forwarding, continue to work as usual. Dropped messages are reported in the service log.

Protecting stored data

Stored messages may contain sensitive data. Internal storage stores complete syslog messages, including the original message text, which may contain passwords, tokens, personal data, and other sensitive information. Treat the database and its folder as sensitive. Store only the messages you need.

Changing the database location

The database location is set by the DatabasePath setting and can only be changed in this folder. When the service starts with a new DatabasePath, internal storage writes to the database at the new location. If you change the internal storage location, ensure that the new location is properly secured. While the Events page shows only messages from the currently configured database, KSS NG never moves, copies, or deletes the previous database.

Backing up or restoring the database

KSS NG configuration backup includes internal storage settings but not the database itself. The database must be backed up separately.

Browsing stored events

Under Events, select Internal storage as the source. A time range is required, and results are limited. Newest matching messages are shown first.