Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Network Performance Monitor (NPM) > Delete or move SolarWinds log files

Delete or move SolarWinds log files

Created by Justin Wyllys, last modified by Su-Lyn Rosenberry on Jan 09, 2017

Views: 853 Votes: 6 Revisions: 9

Overview

This article describes how to delete or move SolarWinds log files in your system if you experience drive space issues. This article also demonstrates how to automate log management tasks.

Environment

All Orion Core products and versions

Resolution

Delete logs

  1. Launch the command prompt as administrator
  2. Run either or both of the following commands to delete log files.
    To remove current logs only:
    del /F /Q /S C:\programdata\solarwinds\*.log
    To remove old logs only:
    del /F /Q /S C:\programdata\solarwinds\*.log.*

Move logs

  1. Launch the command prompt as administrator
  2. Run either or both of the following commands to move log files.
    To move current logs only:
    robocopy C:\ProgramData\Solarwinds C:\destination_folder *.log /S /MOV
    To move old logs only:
    robocopy C:\ProgramData\Solarwinds C:\destination_folder *.log.* /S /MOV

Automate log management tasks

  1. Open the task scheduler as an administrator.
  2. Create a new Basic Task.
  3. Enter the name of the task, and create a schedule.
  4. Choose Start a program, and browse for C:\Windows\System32\cmd.exe.
  5. In the Add arguments field, enter one of the commands from Delete logs or Move logs section.
  6. Complete the wizard.
Last modified
17:18, 9 Jan 2017

Tags

Classifications

Public