---
title: amverifyarchive
description: Check AM log archives for tampering.
component: pingam
version: 8
page_id: pingam:am-reference:amverifyarchive-1
canonical_url: https://docs.pingidentity.com/pingam/8/am-reference/amverifyarchive-1.html
keywords: ["Administration", "Logs"]
page_aliases: ["reference:amverifyarchive-1.adoc"]
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/am/var/audit/ \
 -u amadmin \
 -w password
```
