Member since
03-02-2016
3
Posts
4
Kudos Received
0
Solutions
03-28-2016
02:23 PM
2 Kudos
Both Unix and Java report epoch from January 1, 1970. However, Unix reports in seconds, while Java reports in milliseconds. The value above is in milliseconds, so you need to divide by 1000: date -d @1458822573
Thu Mar 24 12:29:33 UTC 2016
... View more
03-03-2016
06:05 PM
1 Kudo
@Sunella Zag Following fields are defaults and will be included in all responses "cluster_name" , "definition_id", "definition_name" , "host_name" , "id" , "service_name" You can include any additional fields using http://ambari_server:8080/api/v1/clusters/appslogs/alerts?Alert/state.in(WARNING,CRITICAL,UNKNOWN)&Alert/maintenance_state=OFF&fields=Alert/state,Alert/text
... View more