Query Manipulation Server 25.4
Query Manipulation Server Help

# Document Tracking Configuration Parameters

QMS uses document tracking functionality to provide information about rule usage. For example:

- You can configure document tracking to provide a log message each time QMS activates a particular rule in the Promotion Agentstore. For example:

      [DocumentTracking]
      Backend=Log

  The messages are written to the `events` log type, so you must configure a log stream to write these events to a log file:

      [Logging]
      ...
      0=ApplicationLogStream
      1=QueryLogStream
      2=EventsLogStream

      [EventsLogStream]
      LogFile=events.log
      LogTypeCSVs=events

- You can configure document tracking, with a Lua script, to send information about rule usage to a Statistics Server so that you can monitor the most frequently used rules. For more information about using Statistics Server, refer to the Query Manipulation Server Administration Guide.

      [DocumentTracking]
      Backend=Library
      LibraryPath=dt_lua
      LuaScript=scripts/qms-rules-statsserver.lua
      LuaFunction=process

Copyright 2025 Open Text
Version 25.4 | Last updated October 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 Query Manipulation Server 25.4

Topic Title: Document Tracking Configuration Parameters