Multiple Periodic Stats Loggers can be created to log different statistics, view historical information about gauges, or to create a log at different intervals (such as logging cumulative operations statistics every hour). To create a new log, use the existing Stats Logger as a template to get reasonable settings, including rotation and retention policy.

  1. Run dsconfig by repeating steps 1–3 in To Enable the Stats Logger.
  2. From the Plugin management menu, enter the number to create a new plugin.
  3. From the Create a New Periodic Stats Logger Plugin menu, enter t to use an existing plugin as a template.
  4. Enter the number corresponding to the existing stats logger as a template.
  5. Next, enter a descriptive name for the new stats logger. For this example, type Stats Logger-10s.
  6. Enter the log file path to the file. For this example, type logs/dsstats2.csv.
  7. On the menu, make any other change to the logger. For this example, change the log-interval to 10s, and the suppress-if-idle to false. When finished, enter f to save and apply the configuration.
  8. You should now see two loggers dsstats.csv and dsstats2.csv in the logs directory.