Operations, audit and scheduling#
The configuration of what Empowerment Center watches and keeps by itself: the console's operational alerts, maintenance, activity, the audit, the scheduler and the copies kept of workbooks, portal templates and the metadata. How the console and the audit are used is in Operations and Audit.
Operational alerts#
The operations console checks the server every minute and opens alerts that resolve themselves when the problem goes away.
| Property | Default | What it is |
|---|---|---|
ecenter.operations.enabled |
true |
Check the alerts and do the maintenance automatically. |
ecenter.operations.instance-name |
ECENTER_INSTANCE_NAME or the machine name |
The instance in the alerts. |
ecenter.operations.alerts.interval |
1m |
How often the server is checked. |
ecenter.operations.alerts.connection-interval |
5m |
How often the client databases are checked. |
ecenter.operations.alerts.connection-timeout |
10s |
How long to wait for a client database. |
ecenter.operations.alerts.memory-percent |
90 |
The memory used after the last garbage collection, as a % of the maximum, from which it warns (from 1 to 100). |
ecenter.operations.alerts.disk-path |
The temporary directory | The disk watched. |
ecenter.operations.alerts.disk-free-min |
1GB |
The free space below which it warns. |
ecenter.operations.alerts.queue-wait |
10m |
The queue wait from which it warns. |
ecenter.operations.alerts.running-max |
1h |
The duration of a job from which it warns. |
ecenter.operations.alerts.failures |
5 |
Failed jobs… |
ecenter.operations.alerts.failures-window |
15m |
…in this period, from which it warns. |
ecenter.operations.alerts.delivery-failures |
3 |
Failed subscription sends, data alert evaluations and list alert checks… |
ecenter.operations.alerts.delivery-failures-window |
1h |
…in this period. |
ecenter.operations.alerts.credential-expiry |
30d |
How far in advance it warns of an expiring SCIM, embedding or metadata exchange credential. |
ecenter.operations.alerts.mail-timeout |
10s |
How long to wait for the mail server when checking it. |
ecenter.operations.alerts.render-timeout |
10s |
How long to wait for the headless browser when checking it. |
ecenter.operations.alerts.provisioning-rejection-age |
1h |
How long a sign-up rejected from the identity provider can wait before warning. |
ecenter.operations.alerts.stuck-events |
15m |
How long an internal event can stay unprocessed before warning. |
ecenter.operations.alerts.scheduled-failures |
3 |
Consecutive runs a scheduled task has to fail to warn. |
ecenter.operations.alerts.embed-replay-window |
1h |
How long the alert for reused embedding tokens stays open after the last one (at most 1 day). |
ecenter.operations.alerts.absent-instance |
30m |
With several instances, how long an alert of an instance that no longer exists may last before it is taken as resolved. At least five times interval. |
ecenter.operations.alerts.check-wait |
10s |
How long Check now waits for the round before leaving it in the background. |
ecenter.operations.events.resubmit-wait |
10s |
How long Deliver again waits before leaving it in the background. |
The email notifications of these alerts are configured in ecenter.operations.notifications.* (see Mail and notifications).
When to change them. If an alert fires often without there being a real problem in your installation (for example, jobs that always take more than an hour because they process a lot), adjust its threshold instead of getting used to ignoring it.
Maintenance#
| Property | Default | What it is |
|---|---|---|
ecenter.operations.maintenance.interval |
1h |
How often it purges. |
ecenter.operations.maintenance.job-history |
90d |
How long the job history is kept. |
ecenter.operations.maintenance.resolved-alerts |
365d |
How long a resolved alert is kept. |
ecenter.operations.maintenance.document-usage |
400d |
How long the usage of each document is kept (the Usage tab of Document information and the Unused for N days badge in the workbook list). |
ecenter.trash.retention |
30d |
How long a deleted workbook, list or template waits in the trash before maintenance deletes it for good. Variable: ECENTER_TRASH_RETENTION. |
Console activity#
The Activity tab stores samples of each instance every minute and summarizes them in hours and days.
| Property | Default | What it is |
|---|---|---|
ecenter.operations.activity.enabled |
true |
Sample. |
ecenter.operations.activity.gauge-interval |
15s |
How often the gauges are read (from 1 s to 1 min). |
ecenter.operations.activity.retention.minutes |
3d |
How long the per-minute samples are kept. |
ecenter.operations.activity.retention.hours |
92d |
Those summarized per hour. |
ecenter.operations.activity.retention.days |
400d |
Those summarized per day. |
ecenter.operations.activity.zone |
TZ or the server's |
The zone of the days. Variable: ECENTER_OPERATIONS_ACTIVITY_ZONE. |
ecenter.operations.activity.max-points |
200 |
The maximum points of a stretch chosen when zooming in (at least 10). |
The audit#
| Property | Default | What it is |
|---|---|---|
ecenter.audit.record-queries |
true |
Record each query to a client database with its SQL and the values of its parameters. |
ecenter.audit.retention.others |
365d |
How long a category without its own period is kept. |
ecenter.audit.retention.categories.<category> |
query: 90d, job: 90d |
The period of a category. At least one day. |
ecenter.audit.purge-interval |
1h |
How often what has expired is purged. |
ecenter.audit.purge-enabled |
true |
Purge automatically. |
ecenter.audit.export-max-rows |
100000 |
The entries of an export. |
ecenter.audit.export-timeout |
30m |
How long the download of an export may last. |
ecenter.audit.contains-timeout |
10s |
How long a search with Contains that does not say from which date to search may take. After that time it is cut off in the own database and the screen asks for the period (PERIOD_REQUIRED). Greater than zero. |
The categories are access (sign-ins, sign-outs and failed attempts), query (queries to the client databases), data (data changes from forms and external data), workbook (workbooks), job (finished jobs), scheduling (scheduled tasks), administration (users and license), distribution (subscriptions, deliveries and data alerts) and metadata (metadata changes).
When to change it. The audit is what makes the own database grow the most: each query leaves an entry with its SQL. Adjust the periods to what the organization's policy requires. With record-queries: false queries are not recorded, which saves disk but leaves no trace of which data was read.
The audit log lines#
Each audit entry also goes out as a line of the backend log, in ecenter.audit.<category>, to send it to a syslog or a SIEM. By default all of them go out except those of queries and jobs, of which there is one for each:
logging:
level:
ecenter.audit: info
ecenter.audit.query: warn # info to also get each query
ecenter.audit.job: warn # info to also get each job
The scheduler#
| Property | Default | What it is |
|---|---|---|
ecenter.scheduling.enabled |
true |
Launch tasks at their time. With false, they only run by hand and their history is not purged either. |
ecenter.scheduling.tick |
15s |
How often the tasks that are due are looked at. |
ecenter.scheduling.zone |
The server's (TZ) |
The zone of the schedules. |
ecenter.scheduling.max-running |
4 |
The tasks that run at the same time. The rest wait for the next round. Run now does not wait its turn. |
ecenter.scheduling.recalc-timeout |
2h |
The time limit of each attempt to recalculate a workbook. |
ecenter.scheduling.procedure-timeout |
2h |
That of a scheduled procedure. |
ecenter.scheduling.step-timeout |
30m |
That of the pre- or post-procedure of a group. |
ecenter.scheduling.history |
90d |
How long runs are kept. They are purged on each round, with a valid license. |
ecenter.scheduling.job-poll |
1s |
How often it checks whether a recalculation's jobs have finished. |
ecenter.scheduling.instance-name |
ECENTER_INSTANCE_NAME or the machine name |
The instance in the runs. |
The email notifications of runs are in Mail and notifications. Without a valid license no task is launched.
Workbooks, templates and metadata#
ECenter keeps copies when a workbook or a portal template is saved and, before each import or restore, of a connection's metadata. Of each one it keeps the latest ones from today and the last one from each previous day.
| Property | Default | What it is |
|---|---|---|
ecenter.workbooks.backups-today |
10 |
Today's backups of each workbook. |
ecenter.workbooks.annotated-backups |
20 |
Annotated backups each workbook can have. Annotated ones do not count toward the other two figures and are not discarded automatically. |
ecenter.workbooks.backups-previous-days |
7 |
Previous days from which the last backup of each workbook is kept. |
ecenter.workbooks.lock-timeout |
8h |
A workbook open for editing for longer is taken as abandoned and someone else can take it. |
ecenter.portal.layouts.backups-today |
10 |
Today's copies of each template. 0 and 0, none. |
ecenter.portal.layouts.backups-previous-days |
7 |
Previous days of each template. |
ecenter.metadata.backups-today |
10 |
Today's copies of each connection's metadata. |
ecenter.metadata.backups-previous-days |
7 |
Previous days of each connection's metadata. |
These copies are for undoing a change, not for recovering the installation: that is the backup of the own database (see Backups and restore).
Favorites and bookmarks#
| Property | Default | What it is |
|---|---|---|
ecenter.workbooks.favorites.max-per-user |
500 |
Favorites of each user (workbooks, documents and bookmarks). |
ecenter.workbooks.bookmarks.max-private-per-document |
50 |
Private bookmarks of each user in a document. |
ecenter.workbooks.bookmarks.max-public-per-document |
100 |
Public bookmarks of a document. |
ecenter.workbooks.bookmarks.max-state-size |
256KB |
The size of a bookmark's saved state. |
ecenter.portal.favorites.max-per-user |
500 |
Portal favorites of each user. |
ecenter.portal.bookmarks.max-private-per-page |
50 |
Private bookmarks of each user in a portal page. |
ecenter.portal.bookmarks.max-public-per-page |
100 |
Public bookmarks of a page. |
ecenter.portal.bookmarks.max-state-size |
256KB |
The size of the saved state. |
The metadata#
| Property | Default | What it is |
|---|---|---|
ecenter.metadata.exchange.max-package-size |
64MB |
The metadata package being imported, uncompressed. Above it, 413 PACKAGE_TOO_LARGE. |
ecenter.metadata.exchange.max-entries |
5000 |
The files of the package. |
ecenter.metadata.exchange.max-entry-size |
16MB |
Each uncompressed file. |
ecenter.metadata.impact.max-revalidated |
2000 |
The objects checked again when a metadata change is saved. Of the rest it says they have not been checked. |
ecenter.metadata.impact.max-listed |
200 |
The objects listed in the impact report (the counts are always complete). |
ecenter.metadata.impact.max-users-listed |
50 |
The logins listed per audience. |
ecenter.workbooks.usage-index.reindex-on-startup |
true |
On startup after an upgrade, re-index what the workbooks use. |
ecenter.portal.usage-index.reindex-on-startup |
true |
The same with the portal publications. |