Ionadmin module

Administration module (Ionadmin) – is used for assigning rights, managing scheduled jobs and other administrative tasks.

Configure the Ionadmin module in the config.json file

Configure slow query recording

Setting up as a modal window in the list of slow queries. Set the source in the config.json file of the ionadmin module:

"profiling": {
    "slowQuery": {
      "sources": [
          {
            "collection": "system.profile"
          }
      ]
    }
  }

If the "sources" property is not set or null, the data will be taken from the table:

{
  "profiling": {
    "slowQuery": {
      "sources": null
    }
  }
}

If an empty array is set, then there are no sources.

Log sources configuration

Log sources (can be a few) are specified in the config.json file of the module:

"profiling": {
    "slowQuery": {
      "sources": [
        {
          "collection": "system.profile"
        },
        {
          "file": "D:/Temp/slow-query.txt"
        }
      ]
    }
  }

The selections made are stored in a separate table and do not depend on the current state of the log sources. They can be supplemented by editing. For example, with comments or notes reporting whether the problem is solved.

DB backup configuration

Settings in the ionmodule/config:

"backup": {
    "dir": "../ion-backups",
    "zlib": {
      "level": 1
    }
  }
  • dir contains the path to the folder, where the node application is launched. By default “../ion-backups”
  • zlib.level - the level of compression also affects the speed of the archive creation. By default - level 3.
  • In addition, it is necessary that the utility export.js with the specified parameters worked correctly itself.

Security User Guide

The security user guide is located here.