Just found out that : 1. The column name in table "alertdef_alertdef" has changed. "dataSource" has been replaced by "application". 2. "/list" has been deprecated, instead we should use "entities"
So the right URL example should be: http://hostname:port/eagle-service/rest/entities?query=AlertDefinitionService[@application="hdfsAuditLog" and @site="sandbox"]{*}&pageSize=100 Thanks and regards, Da -----Original Message----- From: Daniel Zhou [mailto:[email protected]] Sent: Wednesday, April 13, 2016 11:05 AM To: [email protected] Subject: Restful API changed? Hi, I'm using master branch and it seems that the Rest api provided on the Eagle Website doesn't work. I got an exception after a GET request. Query: http://192.168.6.148:9099/eagle-service/rest/list?query=AlertDefinitionService[@dataSource="hdfsAuditLog" and @site="sandbox"]{*}&pageSize=100 Response: "java.io.IOException: java.lang.NullPointerException\norg.apache.eagle.log.entity.AbstractHBaseLogReader.open(AbstractHBaseLogReader.java:140" Thanks and regards, Da
