Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Best API to pull Flume Metrics from Ambari

avatar
Expert Contributor

What is the best way to access the Flume metrics data via REST API which is shown in the Ambari Flume service page (image attached).

Tried to access this information via the standard Ambari REST API, however it only gave me high level information about the Flume service:

curl --user admin:admin http://sandbox234:8080/api/v1/clusters/Sandbox/services/FLUME

curl --user admin:admin http://sandbox234:8080/api/v1/clusters/Sandbox/hosts/sandbox.hortonworks.com/host_components/FLUME_H...

Should this information be available via the Ambari Metrics REST API instead?

Thank you

1 ACCEPTED SOLUTION

avatar
Guru

Wes - I know you are asking for REST API in your question but it seems to me that it would be better suited to pull this information using from Flume's JMX MBeans. It sounds to me like you are looking for lower level metrics like memory used, cpu, etc.

View solution in original post

1 REPLY 1

avatar
Guru

Wes - I know you are asking for REST API in your question but it seems to me that it would be better suited to pull this information using from Flume's JMX MBeans. It sounds to me like you are looking for lower level metrics like memory used, cpu, etc.