JSON format data looks like below
<apps>
<app>
<id>application_1540397431401_63966</id>
<user>prdodsapp</user>
<name>
distcp: oozie:action:T=java:W=falcon-dr-fs-workflow:A=dr-replication:ID=0019347-180619181447685-oozie-oozi-W
</name>
<queue>default</queue>
<state>RUNNING</state>
<finalStatus>UNDEFINED</finalStatus>
<progress>81.26881</progress>
<trackingUI>ApplicationMaster</trackingUI>
<trackingUrl>
http://hostname:8088/proxy/application_1540397431401_63966/
</trackingUrl>
<diagnostics/>
<clusterId>1540397431401</clusterId>
<applicationType>MAPREDUCE</applicationType>
<applicationTags>oozie-82feffab11fb930af53ee1d8ca7db26c</applicationTags>
<startedTime>1541005780354</startedTime>
<finishedTime>0</finishedTime>
<elapsedTime>1751383</elapsedTime>
<amContainerLogs>
http://hostname:8042/node/containerlogs/container_e81_1540397431401_63966_01_000001/prdodsapp
</amContainerLogs>
<amHostHttpAddress>hostname:8042</amHostHttpAddress>
<allocatedMB>12960</allocatedMB>
<allocatedVCores>4</allocatedVCores>
<runningContainers>4</runningContainers>
<memorySeconds>44958791</memorySeconds>
<vcoreSeconds>13870</vcoreSeconds>
<queueUsagePercentage>0.4974943</queueUsagePercentage>
<clusterUsagePercentage>0.26367188</clusterUsagePercentage>
<preemptedResourceMB>0</preemptedResourceMB>
<preemptedResourceVCores>0</preemptedResourceVCores>
<numNonAMContainerPreempted>0</numNonAMContainerPreempted>
<numAMContainerPreempted>0</numAMContainerPreempted>
<resourceRequests>
<capability>
<memory>3240</memory>
<virtualCores>1</virtualCores>
</capability>
<nodeLabelExpression/>
<numContainers>0</numContainers>
<priority>
<priority>0</priority>
</priority>
<relaxLocality>true</relaxLocality>
<resourceName>*</resourceName>
</resourceRequests>
<resourceRequests>
<capability>
<memory>3240</memory>
<virtualCores>1</virtualCores>
</capability>
<nodeLabelExpression/>
<numContainers>0</numContainers>
<priority>
<priority>20</priority>
</priority>
<relaxLocality>true</relaxLocality>
<resourceName>*</resourceName>
</resourceRequests>
<logAggregationStatus>NOT_START</logAggregationStatus>
</app>