Update Time to Live index for Chat Logging

The Time To Live(or TTL) setting in the sametime.ini defines how long to store chathistory in the database.

About this task

To change the TTL from the default 90 days, you must rebuild the TTL index in MongoDB.

Procedure

  1. Shutdown the Sametime Community server.
  2. Modify the chatlogging.ini and set the CL_MONGO_HISTORY_TTL value to the preferred setting.
  3. In the MongoDB Compass UI, access the chatlogging EVENTS table and select the indexes tab; then, hit the DROP icon to the right of the TTL index.
  4. Restart the Sametime Community server. This will create the new TTL index with the new value.