> For the complete documentation index, see [llms.txt](https://docs.lan.kokomocloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lan.kokomocloud.com/analytics/device-events.md).

# デバイスイベント

デバイスイベントは、個々のデバイスに固有のイベントであり、KOKOMO Cloudのログに記録されます。イベントの例としては、デバイスがオンラインまたはオフラインになった正確な時刻などが挙げられます。

{% hint style="warning" %}
ログの保存期間は最大30日間となります。それ以前の日付を設定しても閲覧することはできません。
{% endhint %}

以下の画面で「**デバイスイベント**」を確認できます。&#x20;

「**分析**」＞「**イベントログ**」＞「**デバイスイベント**」をクリックして、この画面にアクセスします。

<figure><img src="https://content.gitbook.com/content/UGo1fJsX7itL1XTQMLx9/blobs/sDZOSey2E9S7cxtpAoez/image.png" alt=""><figcaption></figcaption></figure>

## イベントログの検索 <a href="#searching-the-event-log" id="searching-the-event-log"></a>

KOKOMO Cloudでは、さまざまな所望のパラメーターに基づいてデバイスイベントを検索できます。&#x20;

<figure><img src="https://content.gitbook.com/content/UGo1fJsX7itL1XTQMLx9/blobs/csJ0xAfCxoL7zHAyHLT2/image.png" alt=""><figcaption></figcaption></figure>

日付／時刻や重大度、その他のパラメーターを指定できます。

1つまたは複数のイベントタイプを選択し、SSIDやデバイス名／MACを入力するか、またはクライアントを選択すると、関連するログメッセージが表示されます。検索をカスタマイズしたら、「**適用する**」をクリックして検索を実行してください。

{% hint style="info" %}
14日前のログよりさらに前のログも30日以内であれば閲覧可能です。カレンダーの日時フィルタを使用して必要な期間を設定してください。
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lan.kokomocloud.com/analytics/device-events.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
