Configuration

Site administration > Plugins > Logging > OpenSearch log. The cluster, the queue and the retention of the logstore (180 days by default) and xapi (365 days) streams are set in tool_opensearch.

Setting

Default

Description

mode_standard

on

Write the events to the logstore stream.

mode_xapi

off

Also write xAPI statements to the xapi stream (Modes).

logguests

on

Write events of guests and of users not logged in (always written in CLI scripts).

edulevels

all

Education levels written: other, teaching, participating.

crud

all

Actions written: create, view, update, delete.

excludeevents

empty

Event names not written, one per line.

includeip

on

Write the IP address.

pseudonymize

off

Replace user ids by pseudonyms (Privacy).

salt

generated

Secret of the pseudonyms, encrypted. MOODLE_OPENSEARCH_LOG_SALT wins over it.

otherdenylist

empty

Keys removed from other, one per line.

otherfields

off

Also copy other to other_flat (flat_object), so that its keys can be searched.