---
title: amverifyarchive
description: Check PingAM log archives for tampering and verify their integrity
component: pingam
version: 7.5
page_id: pingam:reference:amverifyarchive-1
canonical_url: https://docs.pingidentity.com/pingam/8/am-reference/amverifyarchive-1.html
llms_txt: https://docs.pingidentity.com/pingam/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
keywords: ["Administration", "Logs"]
section_ids:
  amverifyarchive-1-desc: Description
  amverifyarchive-1-options: Options
  amverifyarchive-1-examples: Examples
---

# amverifyarchive

Check AM log archives for tampering.

```
amverifyarchive { options }
```

## Description

This command checks log archive integrity.

## Options

The following options are required.

* `-l logName`

  Verify log files of the specified type. To specify an individual log rather than a type, provide the entire log file name.

* `-p path`

  Path to log files to verify.

* `-u userName`

  User who can read log files.

* `-w password`

  Password of the user who can read log files.

## Examples

The following example checks the `amConsole` logs:

```bash
$ amverifyarchive \
 -l amConsole \
 -p /path/to/openam/var/audit/ \
 -u amadmin \
 -w password
```
