> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-logs.md).

# Runbook ログ

## 概要

Runbook logs では、最近の実行とアーカイブされた runbook 実行（ジョブ）を確認できます。

<figure><img src="/files/ef7edf09b0b8f8c0dc8ffdb4ff81108c4334392f" alt=""><figcaption><p>Runbook ジョブ一覧</p></figcaption></figure>

### 種類とカテゴリ

RealmJoin Portal の Runbook は、組織（tenant）、デバイス、ユーザー、またはグループのいずれかにスコープされ、 [ユーザー、グループ、デバイスの管理](/ja/ugd-management/user-group-device-management.md).

また、カテゴリを使用して Runbook を特定のトピックごとに整理できます。既定のカテゴリは「general」「mail」「security」です。

種類とカテゴリはどちらも、RealmJoin Portal で Runbook がいつ／どこで提供されるかに影響し、Runbook logs に反映されるため、それに応じた検索や並べ替えが可能になります。参照: [命名規則](/ja/zi-dong-hua/runbooks/naming-conventions.md) 種類とカテゴリが Runbook にどのように割り当てられるかを理解するには。

### 検索と並べ替え

ジョブ ID、名前、種類、またはカテゴリでジョブを検索できます。入力に応じて検索結果は更新されます。

フィールドのヘッダー（名前）をクリックすると、多くのフィールドで並べ替えできます。

### ジョブの詳細

ジョブの ID をクリックしてジョブの詳細ページを開くと、より多くのメタデータ、runbook の出力、およびパラメーターが表示されます。参照: [Runbook ジョブの詳細](/ja/zi-dong-hua/runbooks/runbook-logs/runbook-job-details.md) 詳細について。

<figure><img src="/files/48889120fd0ab33ec13fc62a85d375de6f5971c0" alt=""><figcaption><p>Runbook ジョブの詳細</p></figcaption></figure>

## スケジュールされたジョブとスケジュール

#### スケジュールされたジョブ

クリック **スケジュールされたジョブ** して、種類/コンテキストに関係なく、Azure Automation Account 内のすべてのスケジュールされたジョブを表示します。

<figure><img src="/files/e26c45ab49fb7609c4cef58686afaac3a80214fa" alt=""><figcaption><p>スケジュールされたジョブ</p></figcaption></figure>

次のことができます **削除** ジョブの右側にあるボタンを使用してスケジュールされたジョブを削除します。これにより Runbook は削除されず、スケジュールされたジョブのみが削除されます。

参照 [スケジュール設定](/ja/zi-dong-hua/runbooks/scheduling.md#assigning-schedules) 新しいスケジュールされたジョブを作成したい場合。

#### スケジュール

クリック **スケジュール** Runbook 用に利用可能なスケジュールを表示および管理します。

参照 [スケジュール設定 ](/ja/zi-dong-hua/runbooks/scheduling.md#managing-schedules)詳細について学習します。

## アーカイブ済みログ

Azure Automation では、Runbook ジョブのログは一定期間しか保持されません。RealmJoin では、Runbook ログを Log Analytics Workspace にコピー／アーカイブして、より長く保存することができます。これは、正しく設定／オンボードした後にのみ利用可能になります [Log Analytics](/ja/torogu/log-analytics.md).

アーカイブ済みログを保存できる期間は制限されるため、必要に応じて Workspace の保持期間を変更する必要がある点にご注意ください。

クリック **アーカイブ済み** Azure Automation の最近のログから、Log Analytics に保存されたログへ切り替えるには

<figure><img src="/files/43a3cf7769887f02163134babc892b2993547619" alt=""><figcaption><p>アーカイブ済み Runbook ジョブログ一覧</p></figcaption></figure>

これらは、通常のログと同様に以下で検索および確認できます **最近の**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-logs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
