Audit your domains regularly to reveal problems.
What is the Domain Separation Center?
The
Domain Separation Center is a dashboard where you can schedule and configure audits for all
of the domains stored in your domain_audit_definition table. The dashboard enables you to
review audit results and dig deeper into domain errors and warnings. You can find the Domain
Separation Center dashboard at
<ServiceNow-instance-name>/domaincenter.
The Domain
Separation Center provides many audits. You cannot create your own. You can, however,
configure how often they run. Audits run on all of the domains stored in the
domain_audit_definition table.
Configure audits
You can configure whether an audit is active and how frequently it runs.
- In the Domain Separation Center, click Configure Audits.
The
Configure Audits page displays.
- Configure each audit you want to be active. Audits are inactive by default.
- Click an audit.
- Click the Active box to activate the audit.
- Specify how often the audit runs in the Frequency
field.
The Domain Separation Center runs all audits marked with the same
frequency at the same time. Do not select Daily for audits
run on large tables.
- Repeat these steps for each audit you want to activate.
- Click Save.
Schedule audits
You configured one or more audits to run daily, weekly, or monthly. The scheduler specifies
what days and times to run those audits. All audits with the same scheduling frequency run
sequentially staring at the time you configure.
- In the Domain Separation Center, click Audit Schedules.
The
Audit Schedule page displays.
- Configure the audit schedules.
- Click a schedule name.
- Specify the time of day to run the audit.
Time units are 24 hour clocks, that
is, 14 equals 2 PM.
- For weekly schedules, select the day of the week to run the audit, where 1 is
Sunday.
- For monthly schedules, select the day of the month to run the audit.
- Repeat the procedure for the other schedules.
- Click Save to save the configuration changes.
- Click Execute Now to run all of the
audits scheduled to run at the frequency shown at the top of the right pane, for
example, if the pane title is, Domain Audit Schedule - Daily, all
of the audits that run daily are run.
To see the status of a running audit, in the Domain Separation Center, click the number in
the Running Audits box.
Execute audits immediately
Audits typically run as scheduled. You can, however run all audits on command.
- In the Domain Separation Center, click Audit Schedules.
The
Audit Schedule page displays.
- Click the name of the audit schedule you want to run, for example, daily, weekly, or
monthly.
- Click Execute Now.
To see the status of a running audit, in the Domain Separation Center, click the number in
the Running Audits box.
Configure the Domain Separation Center
- In the Domain Separation Center, click Configure Domain
Center.
- On the Configure Domain Center page, for Enables
detail domain logging, select Yes to store detailed
logs that help diagnose domain-related issues. Detailed logging might cause performance
issues.
These logs refer to server-side logs in the syslog_domain table. For
information about viewing the logs, see View audits with warnings and
failures.
- In the slushbucket, move into the Selected column all of your
large tables.
Daily audits should not run on large tables. Grayed-out table names in
the Selected column are large and cannot be moved to the
Available column.
- Click Update.
View audits with warnings and failures
On the dashboard,
Errors and
Warnings provide
detailed information about audits that encountered problems. Logs related to domain
separation reside on your server in the syslog_domain table.
- In the Domain Separation Center, click the number in the Errors
or Warnings box.
The Errors or
Warnings page displays, respectively.
- Click one of the audits in the list.
The page displays detailed information about
problems with the audit you selected. The messages in Audit Result
Details refer to values in the syslog_domain table for table audits that
revealed errors or warnings.
- To see the logs on the server that provide information about warning or error
audits:
- Copy the Detail ID value in the left panel of a warning or
error.
- In the Filter Navigator of HI, enter syslog_domain.do.
The
Domain Log page displays.
- In the Source search field, enter
=<Detail-ID> (no space after the equals sign), for
example, =f6a00fd29a85b300a9503a81b9169678.
The Domain Log page displays only the
logs related to the audit with the Detail ID you specified. Each row in the table
specifies a different record the audit found problems in. Notice that the
Message field on this page matches the values displayed
in the Domain Service Center's Message column. The format
of the message matches the audit type.
- Click:
- Rerun Audit—Rerun an audit to see if it still encounters a
warning or error.
- Deactivate Audit—Inactivate an audit.
- Copy Details—Copy audit details to the clipboard.
View running and pending audits
Active audits periodically run or are queued to run, as scheduled. You can view their
status as they run.
- Click the number in the Running Audits box to view audits that
are currently running or pending running.
The Running Audits
page displays.
- Click an audit for more information about it.
View inactive audits
- Click the number in the Inactive Audits box.
The
Inactive Audits page displays all of the audits that are
currently deactivated.
- Click one of the audits to display more information about it.
- To activate an audit, click the Active
box and use the Frequency field to specify how often the audit
runs.
- Click Update.