Your Question. Article: 00117 Question: How to Purge Data for a Custom Filter by Creating the Scheduled Task, Filter Fields, Rules and Actions?



Similar documents
Your Question. Article: Question: How do I Configure LDAP with Net Report?

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

Troubleshooting Failover in Cisco Unity 8.x

Your Question. Net Report Answer

PRODUCT WHITE PAPER LABEL ARCHIVE. Adding and Configuring Active Directory Users in LABEL ARCHIVE

Moving the TRITON Reporting Databases

SonicWALL CDP Local Archiving

Working with SQL Server Integration Services

Moving the Web Security Log Database

Video Administration Backup and Restore Procedures

Virtual Office Remote Installation Guide

NetBackup Backup, Archive, and Restore Getting Started Guide

Basics Managing Your Inbox

Ekran System Help File

BACKUP UTILITY FOR TIMEFORCE

Decision Support AITS University Administration. EDDIE 4.1 User Guide

Outlook Web App. in Office 365. The Outlook Window. Signing In. (Outlook Exchange Faculty & Staff) Getting Started

Using SSH Secure Shell Client for FTP

Configuring a Custom Load Evaluator Use the XenApp1 virtual machine, logged on as the XenApp\administrator user for this task.

Changing Your Cameleon Server IP

QUANTIFY INSTALLATION GUIDE

StarWind iscsi SAN & NAS: Configuring HA Shared Storage for Scale- Out File Servers in Windows Server 2012 January 2013

Global Image Management System For epad-vision. User Manual Version 1.10

System Administration and Log Management

Laptop Backup - User Guide (Windows)

Desktop Surveillance Help

Novell ZENworks Asset Management 7.5

BSDI Advanced Fitness & Wellness Software

SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

etoken Enterprise For: SSL SSL with etoken

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

Remedy ITSM Service Request Management Quick Start Guide

Changing Passwords in Cisco Unity 8.x

Getting Started with the Aloha Community Template for Salesforce Identity

QSF Creator Tool. Task Sheet. Logging Into Hosted Millennium

FTP, IIS, and Firewall Reference and Troubleshooting

Upgrading MySQL from 32-bit to 64-bit

Configuring the CounterPath X-Lite SIP Softphone

User Guide for Kelani Mail

Remote Storage Area (RSA) Basics

Reference and Troubleshooting: FTP, IIS, and Firewall Information

Lab A: Deploying and Managing Software by Using Group Policy Answer Key

4cast Client Specification and Installation

LepideAuditor Suite for File Server. Installation and Configuration Guide

Affiliated Provider Billing/Coding

Working together with Word, Excel and PowerPoint

CRM Migration Manager for Microsoft Dynamics CRM. User Guide

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Secrets of Event Viewer for Active Directory Security Auditing Lepide Software

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Remedy ITSM Service Request Management Quick Start Guide

LANDESK Service Desk. Desktop Manager

Baylor Secure Messaging. For Non-Baylor Users

Backing Up and Deleting Files

Unified Monitoring Portal Online Help Account Admin

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

Creating and Issuing the Workstation Authentication Certificate Template on the Certification Authority

Developing Own Crystal Reports

Windows XP File Management

Crystal Reports Installation Guide

Microsoft Corporation. Project Server 2010 Installation Guide

4cast Server Specification and Installation

pcanywhere Advanced Configuration Guide

Introduction to Microsoft Access 2003

Section 1: Preface Introduction... 1 Users... 1 Assumptions... 2 Other Resources... 2 Conventions... 2 Icons... 2 Text... 2

Netmail Search for Outlook 2010

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

BID2WIN Workshop. Advanced Report Writing

Managed Security Web Portal USER GUIDE

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

DevInfo 7 Web Installer Guide

VERITAS NetBackup 6.0

Junk Settings. Options

Connex ProView installation and user guide

Spambrella SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

Spambrella SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

Cloud Service Edition. Operations Guide

WhatsUp Gold v16.1 Installation and Configuration Guide


Instructions for Creating an Outlook Distribution List from an Excel File

NetIQ Operations Center 5: The Best IT Management Tool in the World Lab

O Reilly Media, Inc. 3/2/2007

Tenrox and Microsoft Dynamics CRM Integration Guide

NETWORK PRINT MONITOR User Guide

Monitoring Inventory. Inventory Management. This chapter includes the following sections:

User Guide. The AMF's File Transfer Service (FTS)

Lepide Event Log Manager. Users Help Manual. Lepide Event Log Manager. Lepide Software Private Limited. Page 1

Configuring Load Balancing

End User Configuration

ProSystem fx Document

FTP Server Configuration

Does the GC have an online document management solution?

HP Device Manager 4.6

Juris Installation / Upgrade Guide

As your financial institution completes its system conversion, you

Transcription:

Your Question Article: 00117 Question: How to Purge Data for a Custom Filter by Creating the Scheduled Task, Filter Fields, Rules and Actions? Net Report Answer Introduction This article explains how to purge data for a custom filter by creating the scheduled task, filter fields, rules and actions. Please follow the tasks below step by step: Task 1: Creating a Scheduled Task for the Custom Filter. Task 2: Creating Fields Task 3: Creating Actions Task 4: Creating Rules Note: this document assumes that you have already created a filter (please contact support@netreport.fr for help creating your custom filter). Task 1: Creating a Scheduled Task for the Custom Filter To create a scheduled task for the custom filter, in this document MyDevice, please follow the steps below: Steps 1. Launch the Net Report Management Console, select Start> All Programs> NetReport> Management Console. 2. Enter your Login and Password in the Login dialog box and click OK. 3. Select NetReport> [localhost]> Agents> Event Scheduler in the left Console root pane. 1

4. Click New in the Tasks tool bar to add a new Scheduled Task. The new task appears. 5. Rename the Task as appropriate, in this example MyDevice Purge. Add a Comment if necessary. 6. Click Modify Task to the right of the new Scheduled Task in this example MyDevice Purge. The [MyDevice Purge] Task page appears in the right pane. 7. Select the [MyDevice] Target Filter. 8. Click New three times and add the following three Destination Fields: Destination field keeplastdetails maxdetails devicetype Value The number of days of data you wish to keep before its is purged. In this example 61 days. The maximum size of data you want to keep before the data is purged. In this example -1 means that there is no limit. The device concerned by the purge task, in this example MyDevice. 2

9. Select Console root> NetReport> [localhost]> Agents> Event Scheduler> [MyDevice Purge]> Frequency in the left Console root pane. The Frequency configuration for [MyDevice Purge] page appears in the right pane. 10. Select the frequency with which you wish the scheduled purge task to be performed. 11. Select Console root> NetReport> [localhost]> Agents> Event Scheduler in the left Console root pane. 12. Click Apply Changes to save the changes you have just made. Note the asterisk next to the Event Scheduler branch in the left Console root pane disappears indicating that your changes have been saved. 3

Task 2: Creating Fields To add the following fields for the [MyDevice] filter, please follow the steps below: Bad_Record devicetype keeplastdetails MaxDetails Steps 1. Select Console root> [localhost]> ULA> Filters> [MyDevice]> Fields in the left Console root pane. 2. Click New four times to add four new fields.. 4

3. Edit the fields as follows: Name Type Expression Bad_Record String Record( BadRecord ) devicetype String Record( devicetype ) keeplastdetails String Record( keeplastdetails ) MaxDetails String Record( MaxDetails ) 5

Task 3: Creating Actions We are now going to add four default actions and then customize them (renaming them and parameterizing them for our specific needs. Default Action Name Stop Group Execute an SQL Statement Write to Winlog Write to Winlog Rename Default Action to: Do not Perform the Rules Below Purge[MyDevice] [MyDevice] Purge has started [MyDevice] Purge has ended To do so, please follow the steps below: Steps 1. Select Console root> NetReport> [localhost]> ULA> Filters> [MyDevic]e> Actions in the left Console root pane. 2. Select the StopGroup action. 6

3. Rename Stop Group to Do not Perform the Rules Below. 4. Select Execute an SQL Statement from the drop-down list. 5. Click New in the tool bar. The Execute an SQL Statement action appears. 7

6. Rename Execute an SQL Statement action to Purge [MyDevice]. 7. Click the modify action icon to the right of Purge MyDevice. The Purge [MyDevice] page appears. 8. Replace the SQL Statement with the following statement: EXEC NR_Lock MyDevice Purge EXEC nr_purge_table MyDevice_rawdata, [MyDeviceDateFieldName], <field>keeplastdetails</field>, <field>maxdetails</field> EXEC NR_Unlock MyDevice Purge Note: MyDevice_rawdata refers to the table containing the raw data for the device in question. Alternatively you could replace MyDevice_rawdata by the name of another data table, as long as it includes a date column in order to purge records according to the value of the keeplastdetails field. Note: [MyDeviceDateFieldName] refers to the name of the date field for the device log data in question, this is the reference date to be used to purge data. 8

9. Go back to the Actions branch. 10. Select Write to Winlog from the drop-down list. 11. Rename the Write to Winlog action as follows: [MyDevice] Purge has Started. 9

12. Click the modify action icon to the right of MyDevice Purge has Started. 13. Select the Information Event Type. 14. Select the NRAgent and NRAgentTime records and click Delete to remove them. 15. Enter the following message: [MyDevice] Purge has Started. 10

16. Select Write to Winlog from the drop-down list. 17. Rename the Write to Winlog action as follows: [MyDevice] Purge has Ended. 11

18. Click the modify action icon to the right of MyDevice Purge has Ended. 19. Select the Information Event Type. 20. Select the NRAgent and NRAgentTime records and click Delete to remove them. 21. Enter the following message: [MyDevice] Purge has Ended 12

Task 4: Creating Rules We are now going to add the following rules Steps 1. Select Console root> NetReport> [localhost]> ULA> Filters> [MyDevice]> Rules in the left Console root pane. 2. Rename the New rules group to Purge Data. 3. Select the Purge Data node of the Rules branch in the left Console root pane. 13

4. Click New to add a new rule. 5. Right-click on the new rule. The context menu appears. 6. Click New Field, the New Field dialog box appears. 14

7. Select Bad_Record from the drop-down list. 8. Click OK. 9. Note the Bad_Record column is added to the Purge Data table. 10. Right-click again on the new rule. The context menu appears. 11. Select devicetype from the drop-down list. 12. Click OK. 15

13. Note the devicetype column is added to the Purge Data table. 14. We are now going to edit the rule we added and add the following four rules with the following values: # Action Active Critical < Bad_Record < devicetype 1 Do not Perform the Rules Below yes no <> MyDevice 2 Purge MyDevice yes no IS NULL = MyDevice 3 MyDevice Purge has Started yes no IS NULL = MyDevice Event 4 MyDevice Purge has Ended Event yes no IS NULL = MyDevice 16

15. To select an action, double-click the cell in question in the Action column and select the action from the drop-down list. 16. To specify the rule s field value double-click the cell in question and select the value from the drop-down list. 17. To apply the changes you have made once you have added all the rules, select Console root> NetReport> [localhost]> ULA. 18. Click Apply Changes. 17