Bhagyashri Kokate created RANGER-3238:
-----------------------------------------
Summary: Incorrect response for 'ranger_metric denyconditions' in
Collect Diagnostic Data
Key: RANGER-3238
URL: https://issues.apache.org/jira/browse/RANGER-3238
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: Bhagyashri Kokate
Assignee: Bhagyashri Kokate
Getting incorrect response for 'ranger_metric denyconditions' it is collecting
denycondition only from unzone policy.
Steps
1.Create some denycondition in Unzone policy and Zone policy
2.Go to CM --> Support --> Send Diagnostic data
3.Fill the fileds Collect Diagnostic Data only Cluster - Cluster 1 Service -
Ranger-1
4.Click Collect Diagnostic Data
5.Download the file and check the file
'ranger_metric_data_for_denyconditions.out'
Also can be verified using curl
{code}curl -ivk -u admin:admin123 -X GET --header 'Content-Type:
application/json'
'https://hcrangermetric3-1.hcrangermetric3.root.hwx.site:6182/service/plugins/metrics/type/denyconditions'\{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)