Media Server 25.3
Media Server Help

# LuaScript

The Lua script that determines whether to redact an audio record.

Specify one of the following:

- the absolute path to the Lua script file. To strengthen security, Media Server can be configured to read files only from specified directories. For information about the directories that Media Server is permitted to read from, see the parameter AllowedInputDirectories.
- the path to the Lua script file, relative to the LuaDirectory.
- a string that matches one of your `AdditionalDataLabels`, (if you use the `AdditionalData` and `AdditionalDataLabels` action parameters to upload the Lua script file as part of the Process action).

The script must define a function with the name `pred`. The function must accept a record and return either `true`, to redact the record, or `false`. An example script is included in the Media Server installation.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `LuaScript=speechToTextMatch.lua`
See Also: | PredicateType

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.3

Topic Title: LuaScript