<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to remove old metrics from metric browser of appdynamics? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/how-to-remove-old-metrics-from-metric-browser-of-appdynamics/m-p/738592#M11009</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We found a solution here, maybe it's can help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/Infrastructure-Server-Network/How-to-purge-Cloud-metrics-in-metric-browser/m-p/37977#M882" target="_blank"&gt;https://community.appdynamics.com/t5/Infrastructure-Server-Network/How-to-purge-Cloud-metrics-in-metric-browser/m-p/37977#M882&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to go to your serveur AppDynamics Platform, connect to DB:&lt;/P&gt;&lt;P&gt;/opt/appdynamics/platform/product/controller/bin/controller.sh login-db&lt;/P&gt;&lt;P&gt;Found the metric to delete:&lt;/P&gt;&lt;P&gt;example for me:&lt;/P&gt;&lt;P&gt;select id,name from metric where name like '%Active Direc%';&lt;/P&gt;&lt;P&gt;+--------+--------------------------------------------------------------------+&lt;BR /&gt;| id | name |&lt;BR /&gt;+--------+--------------------------------------------------------------------+&lt;BR /&gt;| 643176 | Custom Metrics|Services| |Active Directory Domain Services |&lt;BR /&gt;| 643177 | Custom Metrics|Services| |Active Directory Web Services |&lt;BR /&gt;| 643179 | Custom Metrics|Services| |Active Directory Domain Services |&lt;BR /&gt;| 643180 | Custom Metrics|Services| |Active Directory Web Services |&lt;BR /&gt;| 643182 | Custom Metrics|Services| |Active Directory Domain Services |&lt;BR /&gt;| 643183 | Custom Metrics|Services| |Active Directory Web Services |&lt;BR /&gt;+--------+--------------------------------------------------------------------+&lt;/P&gt;&lt;P&gt;With the ID you can delete all custom metric:&lt;/P&gt;&lt;P&gt;First:&amp;nbsp;delete from metric_config_map where metric_id = '643176';&lt;/P&gt;&lt;P&gt;Second:&amp;nbsp;delete from metric where id = '643176';&lt;/P&gt;&lt;P&gt;Wait 30 mins / 1 hours and refresh, the metric gone.&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 12:56:36 GMT</pubDate>
    <dc:creator>herbomel_aureli</dc:creator>
    <dc:date>2020-01-13T12:56:36Z</dc:date>
    <item>
      <title>how to remove old metrics from metric browser of appdynamics?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/how-to-remove-old-metrics-from-metric-browser-of-appdynamics/m-p/738591#M11008</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i need to remove all old data from metric browser&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AppD still displays this in the metric browser. If you have a few&amp;nbsp;this is not an issue but having hundreds of data you don't care about is annoying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was wondering if anyone has found a way of keeping just metrics for active instances and services&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 10:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/how-to-remove-old-metrics-from-metric-browser-of-appdynamics/m-p/738591#M11008</guid>
      <dc:creator>mandar_kadam1</dc:creator>
      <dc:date>2020-01-13T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove old metrics from metric browser of appdynamics?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/how-to-remove-old-metrics-from-metric-browser-of-appdynamics/m-p/738592#M11009</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We found a solution here, maybe it's can help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/Infrastructure-Server-Network/How-to-purge-Cloud-metrics-in-metric-browser/m-p/37977#M882" target="_blank"&gt;https://community.appdynamics.com/t5/Infrastructure-Server-Network/How-to-purge-Cloud-metrics-in-metric-browser/m-p/37977#M882&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to go to your serveur AppDynamics Platform, connect to DB:&lt;/P&gt;&lt;P&gt;/opt/appdynamics/platform/product/controller/bin/controller.sh login-db&lt;/P&gt;&lt;P&gt;Found the metric to delete:&lt;/P&gt;&lt;P&gt;example for me:&lt;/P&gt;&lt;P&gt;select id,name from metric where name like '%Active Direc%';&lt;/P&gt;&lt;P&gt;+--------+--------------------------------------------------------------------+&lt;BR /&gt;| id | name |&lt;BR /&gt;+--------+--------------------------------------------------------------------+&lt;BR /&gt;| 643176 | Custom Metrics|Services| |Active Directory Domain Services |&lt;BR /&gt;| 643177 | Custom Metrics|Services| |Active Directory Web Services |&lt;BR /&gt;| 643179 | Custom Metrics|Services| |Active Directory Domain Services |&lt;BR /&gt;| 643180 | Custom Metrics|Services| |Active Directory Web Services |&lt;BR /&gt;| 643182 | Custom Metrics|Services| |Active Directory Domain Services |&lt;BR /&gt;| 643183 | Custom Metrics|Services| |Active Directory Web Services |&lt;BR /&gt;+--------+--------------------------------------------------------------------+&lt;/P&gt;&lt;P&gt;With the ID you can delete all custom metric:&lt;/P&gt;&lt;P&gt;First:&amp;nbsp;delete from metric_config_map where metric_id = '643176';&lt;/P&gt;&lt;P&gt;Second:&amp;nbsp;delete from metric where id = '643176';&lt;/P&gt;&lt;P&gt;Wait 30 mins / 1 hours and refresh, the metric gone.&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 12:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/how-to-remove-old-metrics-from-metric-browser-of-appdynamics/m-p/738592#M11009</guid>
      <dc:creator>herbomel_aureli</dc:creator>
      <dc:date>2020-01-13T12:56:36Z</dc:date>
    </item>
  </channel>
</rss>

