insights
2022.4
false
- リリース ノート
- 基本情報
- アクセスと権限
- Insights を操作する
- ログ- ログのルールを設定する
 
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Insights
最終更新日時 2025年5月16日
ロボット ログでは、診断ログと実行ログがキャプチャされます。Insights でロボット ログを取り込む条件を設定できます。たとえば、特定の名前を含むプロセスのログのみをキャプチャできます。
詳細については、「ロボット ログ」をご覧ください。
Orchestrator の設定は 
               
               nlog.custom.config ファイルで行えます。設定を変更するには、次の手順を実行します。
               - 新しいログ ルールを nlog.custom.configファイル内に配置します。 以下の詳細で例をご確認ください。{ "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" } ] } } }
- Orchestrator 構成ツールを使用して構成を更新します。次のコマンドを使用して、カスタム nlog.custom.configファイルのキーを、orchestrator-customconfig構成マップで既に使用可能な設定とマージします。このコマンドでは、既存の設定は削除されません。./orchestrator-configurator.sh -l nlog.custom.config./orchestrator-configurator.sh -l nlog.custom.config
次の例では、特定のレベルを超えたログ、または実行が終了したことを示すメッセージを含むログのみを送信しています。
{
  "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"
        }
      ]
    }
  }
}