---
title: list-log-retention-policies
description: Lists existing Log Retention Policies.
component: pingds
version: 8.1
page_id: pingds:configref:subcommands-list-log-retention-policies
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/subcommands-list-log-retention-policies.html
---

# list-log-retention-policies

Lists existing Log Retention Policies.

In addition to the global `dsconfig` options, the `dsconfig list-log-retention-policies` subcommand takes the following options:

* `-m | --unit-time {unit}`

  Display time data using the specified unit. The value for UNIT can be one of ms, s, m, h, d, w, or y (milliseconds, seconds, minutes, hours, days, weeks, or years).

* `--property {property}`

  The name of a property to be displayed.

* `-z | --unit-size {unit}`

  Display size data using the specified unit. The value for UNIT can be one of b, kb, mb, gb, or tb (bytes, kilobytes, megabytes, gigabytes, or terabytes).

Properties used in options depend on the type of object to configure.

For details about available properties, see [Log Retention Policy](objects-log-retention-policy.html).
