How to remove the metrics with a single command of SmartStorTools.

book

Article ID: 36897

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

Question:
How to remove the metrics with a single command of SmartStorTools.


Answer:

You can remove the metrics with a multiple commands of SmartStorTools. To do this, please follow the steps below :

If you'd like to remove the metric "testmetrics:test1" in Agent1,

1. Separate Agent1 from data directory to A1 directory
e.g.) SmartStorTools keep_agents -agents ".*Agent1" -dest A1 -src data

2. remove Agent1 from data directory to A2 directory
e.g.) SmartStorTools remove_agents -agents ".*Agent1" -dest A2 -src data

3. Remove test1 metric from A1 directory to A1_2 directory
e.g.) SmartStorTools remove_metrics -metrics ".*testmetrics:test1" -dest A1_2 -src A1

4. merge A1_2 and A2 into A2 directory
e.g.) SmartStorTools merge A1_2 A2

5. Please update A2 directory to data directory.

 

Additional Information: 
Please refer to the details of SmartStorTools in the following documentation.

Section Title: Use the SmartStor Command-Line Tools
https://docops.ca.com/ca-apm/10-1/en/administrating/enterprise-manager-configuration/configure-and-manage-smartstor-data#ConfigureandManageSmartStorData-SmartStorToolCommands

Environment

Release: CEMUGD00200-10.1-Introscope to CA Application-Performance Management-Upgrade Mai
Component: