---
title: Creating a Periodic Stats Logger
description: Create a Periodic Stats Logger to capture specific server metrics at defined intervals.
component: pingauthorize
version: 11.0
page_id: pingauthorize:pingauthorize_server_administration_guide:paz_create_periodic_stats_logger
canonical_url: https://docs.pingidentity.com/pingauthorize/11.0/pingauthorize_server_administration_guide/paz_create_periodic_stats_logger.html
revdate: December 9, 2025
section_ids:
  steps: Steps
---

# Creating a Periodic Stats Logger

Create a Periodic Stats Logger to capture specific server metrics at defined intervals.

You can create multiple loggers with different configurations, such as one that captures cumulative operation statistics every hour and another that logs error-related metrics every 5 minutes during peak periods, depending on your monitoring needs.

When creating a new logger, use an existing Periodic Stats Logger as a template to inherit preferred defaults, including log rotation and retention policies.

## Steps

1. Run `dsconfig` in interactive mode.

   ```shell
   $ bin/dsconfig
   ```

2. When prompted, enter the LDAP or LDAPS connection parameters.

3. In the main menu, enter `o` to change to the advanced objects menu.

4. Enter the number corresponding to the `Advanced` menu.

5. In the server configuration menu, enter the number corresponding to `Plugin`.

6. In the plugin management menu, enter the number corresponding to `Create a new plugin`.

7. Enter `t` to use an existing plugin as a template.

8. Enter the number corresponding to the existing stats logger template.

9. Enter a descriptive name for the new stats logger.

10. Enter the log file path.

    For example, `logs/dsstats2.csv`.

11. In the Periodic Stats Logger Plugin menu, make any desired changes to the logger properties.

    |   |                                                                        |
    | - | ---------------------------------------------------------------------- |
    |   | In this menu, you can change the log file format from `csv` to `json`. |

12. Enter `f` to save and apply the configuration.
