How can I delete, on mass, the scheduled, and archived reports
search cancel

How can I delete, on mass, the scheduled, and archived reports

book

Article ID: 165843

calendar_today

Updated On:

Products

Reporter

Issue/Introduction

A user has created a lot of scheduled reports, and we don't want to delete them one by one; how can we delete them all at once?

My archived reports are filling up my disk, and I just want to delete all of them; how do I do this?

Resolution

Here's how to delete all of your scheduled reports on mass:

 1: Login to Reporter and naviagate to the Administration > System overview tab and click on "Scheduled tasks".

  • Jot down the Report names of each scheduled action you need to delete.

2: Stop reporter, and naviagate into it's folder structure.

  • On linux that would be /opt/bc/reporter
  • On Windows that would be <installed drive>:\Program Files\Bluecoat Reporter 9\

2: Navigate into the settings folder, and open up the schedules.cfg file using your favorite text editor.

NOTE:  it may be prudent to take a backup copy of this file, prior to you making the changes.

3: Edit out each scheduled action you need to delete.

  • For example, if it was the "Client Ip Report" you'd edit out the section between the hashed name of the report- the text below.

NOTE: I have removed most of the detail in this excerpt , for bevities sake:

 schedule_a5c8f070be6411de9131f0004cc07261 = {
  [SNIP]
    description = "Scheduled Client IP Report"
[SNIP}
  } # schedule_a5c8f070be6411de9131f0004cc07261

 

4: Repeat step 3 for all the scheduled actions you want to delete, and then save the file and exit.

5: If you are removing all your archived reports then delete the archives.cfg file.  However, if you are only removing a few then, using the names you jotted down in step 1 and edit out each entry in this same file.

6: Optional: Navigate to your archives folder now, and delete the PDF, or csv  reports there.

  • By default, on linux that would be /opt/bc/reporter/srchive

  • By default on Windows that would be <installed drive>:\Program Files\Bluecoat Reporter 9\archive

NOTE: Leaving out this step will mean the PDF, and CSV files remain on disk.

7: Restart reporter, and log back in and you should see your reports removed.