Submit a ticketCall us

AnnouncementsTHWACKcamp 2018 is here

2018 is the seventh year for THWACKcamp™, and once again we’ll be live October 17 – 18 with packed session tracks covering everything from network monitoring and management, to change control, application management, storage, cloud and DevOps, security, automation, virtualization, mapping, logging, and more.

Register for online sessions.

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

Delete or move SolarWinds log files

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

Views: 6,827 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

Tags

Classifications

Public