<?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>question Re: How to Access / Read  the Embedded Ambari Metrics Collector Data in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164046#M126416</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12285/karthikeyan-rajamanickam.html"&gt;Karthik Rajamanickam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;embedded mode&lt;/STRONG&gt;, the Collector will capture and write metrics to the &lt;STRONG&gt;local file system&lt;/STRONG&gt; on the host where the Collector is running, not HDFS. As well, all the Collector runs in a single process on that host.&lt;/P&gt;&lt;P&gt;If you are interested where the files, you could open your Ambari &lt;A href="http://hostname:8080/#/main/services/AMBARI_METRICS/configs" target="_blank"&gt;http://hostname:8080/#/main/services/AMBARI_METRICS/configs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and check the general configs for Amabari Metrics. Usually, they go to: /var/log/ambari-metrics-collector&lt;/P&gt;&lt;P&gt;I would suggest to use the existent API and a GET command looks like this:&lt;/P&gt;&lt;PRE&gt;GET &lt;A href="http://&amp;lt;ambari-metrics-collector&amp;gt;:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.FakeMetric&amp;amp;appId=amssmoketestfake&amp;amp;hostname=&amp;lt;hostname&amp;gt;&amp;amp;precision=seconds&amp;amp;startTime=1432075838000&amp;amp;endTime=1432075959000" target="_blank"&gt;http://&amp;lt;ambari-metrics-collector&amp;gt;:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.FakeMetric&amp;amp;appId=amssmoketestfake&amp;amp;hostname=&amp;lt;hostname&amp;gt;&amp;amp;precision=seconds&amp;amp;startTime=1432075838000&amp;amp;endTime=1432075959000&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;More details here: &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 03:08:15 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-08-04T03:08:15Z</dc:date>
    <item>
      <title>How to Access / Read  the Embedded Ambari Metrics Collector Data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164044#M126414</link>
      <description>&lt;P&gt;I need to access the Ambari Metrics Data (Embedded) {In &lt;STRONG&gt;embedded mode&lt;/STRONG&gt;, the Collector will 
capture and write metrics to the local file system on the host where the 
Collector is running} - What is the location where the files are written in HDFS?  How to read the Aggregate data?  I want to generate a report through Excel on using the Ambari Metrics Data in Aggregated Metrics Tables.  Is it feasible?  Please advice.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 02:49:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164044#M126414</guid>
      <dc:creator>karthikeyan_raj</dc:creator>
      <dc:date>2016-08-04T02:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access / Read  the Embedded Ambari Metrics Collector Data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164045#M126415</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12285/karthikeyan-rajamanickam.html" nodeid="12285"&gt;@Karthik Rajamanickam&lt;/A&gt;&lt;P&gt;I think you should be able to use the Metrics Collector API. Did you try this?&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 02:58:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164045#M126415</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-04T02:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access / Read  the Embedded Ambari Metrics Collector Data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164046#M126416</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12285/karthikeyan-rajamanickam.html"&gt;Karthik Rajamanickam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;embedded mode&lt;/STRONG&gt;, the Collector will capture and write metrics to the &lt;STRONG&gt;local file system&lt;/STRONG&gt; on the host where the Collector is running, not HDFS. As well, all the Collector runs in a single process on that host.&lt;/P&gt;&lt;P&gt;If you are interested where the files, you could open your Ambari &lt;A href="http://hostname:8080/#/main/services/AMBARI_METRICS/configs" target="_blank"&gt;http://hostname:8080/#/main/services/AMBARI_METRICS/configs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and check the general configs for Amabari Metrics. Usually, they go to: /var/log/ambari-metrics-collector&lt;/P&gt;&lt;P&gt;I would suggest to use the existent API and a GET command looks like this:&lt;/P&gt;&lt;PRE&gt;GET &lt;A href="http://&amp;lt;ambari-metrics-collector&amp;gt;:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.FakeMetric&amp;amp;appId=amssmoketestfake&amp;amp;hostname=&amp;lt;hostname&amp;gt;&amp;amp;precision=seconds&amp;amp;startTime=1432075838000&amp;amp;endTime=1432075959000" target="_blank"&gt;http://&amp;lt;ambari-metrics-collector&amp;gt;:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.FakeMetric&amp;amp;appId=amssmoketestfake&amp;amp;hostname=&amp;lt;hostname&amp;gt;&amp;amp;precision=seconds&amp;amp;startTime=1432075838000&amp;amp;endTime=1432075959000&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;More details here: &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 03:08:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164046#M126416</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-08-04T03:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Access / Read  the Embedded Ambari Metrics Collector Data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164047#M126417</link>
      <description>&lt;P&gt;how to Access / Read the Embedded Ambari Metrics Collector Data by phoenix not the restAPI@&lt;A href="https://community.hortonworks.com/users/10969/mqureshi.html"&gt;mqureshi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3486/cstanca.html"&gt;Constantin Stanca&lt;/A&gt; @&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 10:53:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Access-Read-the-Embedded-Ambari-Metrics-Collector/m-p/164047#M126417</guid>
      <dc:creator>454596169</dc:creator>
      <dc:date>2017-07-27T10:53:24Z</dc:date>
    </item>
  </channel>
</rss>

