> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/cli/de/fur-devops-und-administratoren/manage/logs.md).

# Aktivitätsprotokolle prüfen

Aktivität mit Devolutions CLI prüfen, lokale Protokolle exportieren, Protokolle von Devolutions Cloud und Devolutions Server auflisten und den Verlauf eines Eintrags ansehen.

Aktivitätsprotokolle sagen, wer was geöffnet, geändert oder gelöscht hat, und wann. Devolutions CLI liest sie von einem Terminal, sodass Sie einen Vorfall schnell prüfen oder die Protokolle an ein Skript übergeben können. Jeder Workspace-Typ führt andere Protokolle, daher hängt der Befehl davon ab, wo Sie arbeiten.

## Den richtigen Befehl wählen

<table><thead><tr><th width="230">WORKSPACE</th><th>BEFEHL</th><th>WAS SIE BEKOMMEN</th></tr></thead><tbody><tr><td>Lokales Profil von Devolutions Remote Desktop Manager</td><td><code>devo admin logs export</code></td><td>Eine CSV-Datei der Aktivitätsprotokolle des Workspace.</td></tr><tr><td>Lokales Profil von Devolutions Remote Desktop Manager</td><td><code>devo entry logs</code></td><td>Der Verlauf eines Eintrags.</td></tr><tr><td>Devolutions Server</td><td><code>devo admin logs activity</code>, <code>administration</code>, <code>login-attempts</code>, <code>pam</code>, <code>rotation</code></td><td>Die Devolutions Server-Berichte, ein Befehl pro Bericht.</td></tr><tr><td>Devolutions Cloud</td><td><code>devo admin logs archived</code>, <code>siem</code></td><td>Archivierte Protokollzusammenfassungen für einen Tag und SIEM-Berichtsprotokolle.</td></tr></tbody></table>

Führen Sie einen Befehl auf einem anderen Workspace-Typ aus und er stoppt mit `operationNotSupportedBySource`. Prüfen Sie den ausgewählten Workspace mit `devo status`, oder fügen Sie `--context <context-name>` zum Befehl hinzu.

## Die Protokolle eines lokalen Profils exportieren

1. Wählen Sie die Berichtsdatei. Ein lokales Profil exportiert nur CSV, daher muss der Pfad auf `.csv` enden, in einem Ordner, der bereits vorhanden ist.
2. Exportieren Sie mit den Filtern, die Sie brauchen. Datumsangaben verwenden das Format `yyyy-MM-dd` oder `yyyy-MM-dd HH:mm`:

   ```bash
   devo admin logs export --out-file activity.csv --after 2026-01-01 --before "2026-01-31 18:00" --entry-name "<entry-name>"
   ```
3. Öffnen Sie die CSV-Datei.

<table><thead><tr><th width="240">OPTION</th><th>WAS ES TUT</th></tr></thead><tbody><tr><td><code>--after</code>, <code>--before</code></td><td>Behält die Protokolle eines Zeitraums.</td></tr><tr><td><code>--entry-name</code>, <code>--group</code>, <code>--vault-id</code></td><td>Behält die Protokolle eines Eintrags, Ordners oder Tresors.</td></tr><tr><td><code>--sort</code></td><td>Sortiert nach <code>connection</code>, <code>creationDate</code> oder <code>vault</code>. Fügen Sie <code>--desc</code> hinzu, um absteigend zu sortieren.</td></tr><tr><td><code>--force</code></td><td>Überschreibt die Datei, wenn sie bereits vorhanden ist. Ohne diese Option stoppt der Export mit <code>fileExists</code> und behält die vorhandene Datei.</td></tr></tbody></table>

Bei einem lokalen Profil werden die anderen Filter des Befehls (`--user`, `--machine`, `--message`, `--ticket`, `--open-comment`, `--close-comment`) und `--utc` mit `invalidParameterValue` abgelehnt.

Der Export braucht ein Profil, das Aktivitätsprotokolle enthält. Wenn nicht, sagt es der Befehl.

## Den Verlauf eines Eintrags anzeigen

Listen Sie auf einem lokalen Profil die Protokolle eines einzelnen Eintrags auf:

```bash
devo entry logs "<entry-name>" --start-date <start-date> --end-date <end-date>
```

Datumsangaben verwenden das Format `yyyy-MM-dd` oder `yyyy-MM-dd HH:mm`. Es gibt standardmäßig bis zu 100 Protokollzeilen zurück. Ändern Sie das mit `--limit`.

## Devolutions Server-Protokolle auflisten

Jeder Devolutions Server-Bericht hat einen eigenen Befehl:

<table><thead><tr><th width="300">BEFEHL</th><th>BERICHT</th></tr></thead><tbody><tr><td><code>devo admin logs activity</code></td><td>Aktivitätsprotokolle. Filtern Sie mit <code>--vault-id</code>, <code>--user-id</code> und <code>--message-type</code>.</td></tr><tr><td><code>devo admin logs administration</code></td><td>Administrationsprotokolle.</td></tr><tr><td><code>devo admin logs login-attempts</code></td><td>Anmeldeversuche. Filtern Sie mit <code>--username</code> auf einen Benutzer.</td></tr><tr><td><code>devo admin logs pam</code></td><td>Aktivität der Verwaltung privilegierten Zugriffs. Fügen Sie <code>--include-pam-system</code> für Systemereignisse hinzu.</td></tr><tr><td><code>devo admin logs rotation</code></td><td>Passwortrotationsprotokolle.</td></tr></tbody></table>

Jeder Bericht akzeptiert dieselben Zeitraumoptionen:

```bash
devo admin logs activity --date-filter last-7-days
```

* `--date-filter`: `today`, `yesterday`, `last-7-days`, `last-30-days`, `last-60-days`, `last-90-days`, `last-180-days`, or `custom`.
* `--after` und `--before`: ein genauer Zeitraum.
* `--page` und `--page-size`: um einen langen Bericht in Teilen zu lesen. Eine Seite enthält bis zu 10000 Protokollzeilen, was auch der Standard ist.

## Devolutions Cloud-Protokolle auflisten

```bash
devo admin logs archived --date 2026-01-31
devo admin logs siem --period weekly
```

`--date` verwendet das Format `yyyy-MM-dd`. `--period` akzeptiert `all` (den Standard), `daily`, `weekly` oder `monthly`.

## Gut zu wissen

* Fügen Sie `--output json` hinzu, um die Protokolle in einem Skript zu verarbeiten oder sie an ein anderes Werkzeug zu senden. Siehe [Ergebnisse als JSON lesen](/cli/de/fur-devops-und-administratoren/automate/json-output.md).
* Alle Optionen jedes Befehls stehen in der [Befehlsreferenz](/cli/de/referenz/commands.md).
* Ein Protokollbefehl sagt, dass der Workspace ihn nicht unterstützt? Siehe [Ein Befehl sagt, dass der Workspace ihn nicht unterstützt](/cli/de/hilfe/troubleshooting/not-supported.md).

## Weiter

* [Manage users, groups, and access](/cli/de/fur-devops-und-administratoren/manage/users-and-access.md)
* [Collect diagnostics for support](/cli/de/hilfe/troubleshooting/collect-diagnostics.md)


---

# 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.devolutions.net/cli/de/fur-devops-und-administratoren/manage/logs.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.
