Configuring a video filter keyword list
Users have the ability to filter videos based on the video titles and descriptions by defining a video filter keyword. Multiple keywords can be defined using a wildcard or regular expression, and can be used with AND/OR logic options.
Unicode emoji character code is currently not supported. |
Configure the video filter keyword list in the GUI:
-
Go to Security Profiles > Video Filter, select the Video Filter Keyword tab, and click Create new.
-
Configure the following:
Name
Enter a name.
Match operator
Select the match operator.
- Any: match any keyword (OR logic)
- All: match all keywords (AND logic)
-
Create the keywords:
-
In the Keywords table, click Create new.
-
Configure the following:
Pattern
Enter a regular expression or wildcard pattern string.
Pattern type
Select the pattern type.
- Wildcard: suitable for basic search
- Regular Expression: suitable for advanced search
Status
Set the status.
- Enable: consider this keyword
- Disable: ignore this keyword
-
Click OK.
-
-
Click OK to save the keyword list.
Configure the video filter keyword list in the CLI:
config videofilter keyword edit <id> set name <string> set match {or | and} config word edit <name> set pattern-type {wildcard | regex} set status {enable | disable} next end next end
Example configuration
In this example, two keywords, API and game, are created with the wildcard and regular expression types, respectively. The match operator is set to Any.
Configure the video filter keyword list in the GUI:
-
Go to Security Profiles > Video Filter, select the Video Filter Keyword tab, and click Create new.
-
Enter a name (test-keyword-match-or) and set Match operator to Any.
-
In the Keywords table, click Create new.
-
Configure the API keyword with the following settings:
-
In the Pattern field, enter API.
-
Set the Pattern type to Wildcard.
-
Click OK.
-
-
Click Create new.
-
Configure the game keyword with the following settings:
-
In the Pattern field, enter Game.
-
Set the Pattern type to Regular Expression.
-
Click OK.
-
-
Click OK to save the keyword list.
Configure the video filter keyword list in the CLI:
config videofilter keyword edit 1 set name "test-keyword-match-or" set match or config word edit "API" set pattern-type wildcard set status enable next edit "Game" set pattern-type regex set status enable next end next end