- Overview
- Requirements
- Installation
- Post-installation
- Migration and upgrade
- Upgrading Automation Suite on EKS/AKS
- Migration options
- Step 1: Moving the Identity organization data from standalone to Automation Suite
- Step 2: Restoring the standalone product database
- Step 3: Backing up the platform database in Automation Suite
- Step 4: Merging organizations in Automation Suite
- Step 5: Updating the migrated product connection strings
- Step 6: Migrating standalone Insights
- Step 7: Deleting the default tenant
- B) Single tenant migration
- Monitoring and alerting
- Cluster administration
- Product-specific configuration
- Troubleshooting

Automation Suite on EKS/AKS installation guide
Robot logs capture diagnostic and execution logs. You can configure the conditions for which Robot logs are ingested by Insights. For example, you only want to capture logs for Processes that include a specific name.
For more information, see Robot logs.
- After Insights installation.
- After Insights upgrade.
- When you want to add or configure existing log rules.
The default settings for Robot logs ingested by Insights include Ingest only last logs and error logs. The following sections show default log rules based on the Insights version that you are running.
Default Log Rules for Versions 2022.4 and higher
In this example, the last logs and Error logs for all processes are ingested. This version of Insights ingests the last Info level from a Robot that has executed a process, alongside process and any Error level logs, as shown in the following example.
<logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Ignore">
<when condition="level >= LogLevel.Error or ends-with('${message}',' execution ended')" action="Log" />
<when condition="'${ui-robot-logs-num-custom-fields}' > 1 and not ends-with('${message}', ' execution started')" action="Log" />
</filters><logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Ignore">
<when condition="level >= LogLevel.Error or ends-with('${message}',' execution ended')" action="Log" />
<when condition="'${ui-robot-logs-num-custom-fields}' > 1 and not ends-with('${message}', ' execution started')" action="Log" />
</filters>Default Log Rules for Version 2021.10
In this example, all logs (Info level and higher) for all processes are ingested. This version of Insights ingests all logs (Info level and and higher) generated by the Robot for all processes, as shown in the following example.
<logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs"/><logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs"/>nlog.custom.config file. To modify the settings, take the following steps:
- Place the new log rules inside the
nlog.custom.configfile. Check the following details for an example:{ "10_Robot_Insights": { "logger": "Robot.*", "ruleName": "insightsRobotLogsRule", "minLevel": "Info", "writeTo": "insightsRobotLogs", "enabled": false, "final": false, "filters": { "defaultAction": "Ignore", "conditions": [ { "condition": "level >= LogLevel.Error or ends-with('${message}', ' execution ended')", "action": "Log" } ] } } }{ "10_Robot_Insights": { "logger": "Robot.*", "ruleName": "insightsRobotLogsRule", "minLevel": "Info", "writeTo": "insightsRobotLogs", "enabled": false, "final": false, "filters": { "defaultAction": "Ignore", "conditions": [ { "condition": "level >= LogLevel.Error or ends-with('${message}', ' execution ended')", "action": "Log" } ] } } } - Use the Orchestrator Configurator Tool to update the configuration. Use the following command to merge the keys from the custom
nlog.custom.configfile with the settings already available in theorchestrator-customconfigconfiguration map.This command does not remove any existing settings../orchestrator-configurator.sh -l nlog.custom.config./orchestrator-configurator.sh -l nlog.custom.config
In the following example, we are only sending logs that exceed a certain level or contain the message that the execution has ended:
{
"10_Robot_Insights": {
"logger": "Robot.*",
"ruleName": "insightsRobotLogsRule",
"minLevel": "Info",
"writeTo": "insightsRobotLogs",
"enabled": false,
"final": false,
"filters": {
"defaultAction": "Ignore",
"conditions": [
{
"condition": "level >= LogLevel.Error or ends-with('${message}', ' execution ended')",
"action": "Log"
}
]
}
}
}{
"10_Robot_Insights": {
"logger": "Robot.*",
"ruleName": "insightsRobotLogsRule",
"minLevel": "Info",
"writeTo": "insightsRobotLogs",
"enabled": false,
"final": false,
"filters": {
"defaultAction": "Ignore",
"conditions": [
{
"condition": "level >= LogLevel.Error or ends-with('${message}', ' execution ended')",
"action": "Log"
}
]
}
}
}Ingest All Logs and Any Error Logs for a Particular Process
payment disp, 68fields, or 68fields_20.
<logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Ignore">
<when condition="equals('${event-properties:item=processName}', 'payment disp') or equals('${event-properties:item=processName}', '68fields') or equals('${event-properties:item=processName}', '68fields_20')" action="Log" />
</filters>
</logger><logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Ignore">
<when condition="equals('${event-properties:item=processName}', 'payment disp') or equals('${event-properties:item=processName}', '68fields') or equals('${event-properties:item=processName}', '68fields_20')" action="Log" />
</filters>
</logger>Ingest Only Last and Error Logs for a Particular Process
payment disp, 68fields, or 68fields_20.
Only Error level logs and the last log of each Robot are logged in to Insights.
<logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Ignore">
<when condition="(level >= LogLevel.Error or ends-with('${message}',' execution ended')) and (contains('${event-properties:item=processName}', 'payment disp') or equals('${event-properties:item=processName}', '68fields') or equals('${event-properties:item=processName}', '68fields_20'))" action="Log" />
</filters>
</logger><logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Ignore">
<when condition="(level >= LogLevel.Error or ends-with('${message}',' execution ended')) and (contains('${event-properties:item=processName}', 'payment disp') or equals('${event-properties:item=processName}', '68fields') or equals('${event-properties:item=processName}', '68fields_20'))" action="Log" />
</filters>
</logger>Do Not Ingest Logs for a Particular Process
payment disp.
<logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Log">
<when condition="equals('${event-properties:item=processName}', 'payment disp')" action="Ignore" />
</filters>
</logger><logger name="Robot.*" ruleName="insightsRobotLogsRule" enabled="true" minlevel="Info" writeTo="insightsRobotLogs">
<filters defaultAction="Log">
<when condition="equals('${event-properties:item=processName}', 'payment disp')" action="Ignore" />
</filters>
</logger>- Overview
- When to Configure Log Rules
- Default Log Rules
- Default Log Rules for Versions 2022.4 and higher
- Default Log Rules for Version 2021.10
- Configure Log Rules
- Log Rules Example
- Ingest All Logs and Any Error Logs for a Particular Process
- Ingest Only Last and Error Logs for a Particular Process
- Do Not Ingest Logs for a Particular Process
- Related Articles