Edge Analytics reference api gives delayed data

Not applicable

Hello,

I am trying to get analytics data using this reference : http://apigee.com/docs/analytics-services/reference/analytics-reference

I am using dimension with their given compute matrix but, get delayed data. I am running that daily basis and trying to get 24 hours data( mid night 12:00am till 11:59pm) Please guide me if I am doing anything wrong or this analytics api gives delayed data?

I am using this url :

https://api.enterprise.apigee.com/v1/o/verizonvent...

I am not getting any traffic but, I've more than 200 requests sent on that day. Edge management ui showed my correct data but, that above url won't gives me anymore correct data on time.

Please guide me.

Thank you.

Regards,

Dhwani.

0 8 269
8 REPLIES 8

Dhwani, can you cut and paste what you get as a response?

Thank you @spadmanabhan for quick response.

Here is response that I get it from above url:

{ "environments" : [ { "metrics" : [ ], "name" : "prod" } ], "metaData" : { "errors" : [ ], "notices" : [ "query served by:1e99d593-0288-4f80-8033-6a481f68e436", "Table used: verizonventures.prod.agg_app", "source pg:30d2cf39-3804-4212-a11b-0b64e1cbe306" ] } }

While what I have in edge management UI analytics is attached in reply.

Not applicable

Thank you @spadmanabhan for quick response.

Here is response that I get it from above url:

{ "environments" : [ { "metrics" : [ ], "name" : "prod" } ], "metaData" : { "errors" : [ ], "notices" : [ "query served by:1e99d593-0288-4f80-8033-6a481f68e436", "Table used: verizonventures.prod.agg_app", "source pg:30d2cf39-3804-4212-a11b-0b64e1cbe306" ] } }

While what I have in edge management UI analytics is attached in reply.

Dhwani, thanks. We are looking into this. Will get back shortly

the image screen shot - how did you get that?

is it from a nightly report?

Hello @spadmanabhan, Yes it is from everyday report. I am using same api as you guys use to generate but, I am getting NO DATA and same time you have RIGTH DATA. How could you do that?

Also, Our org is paid and if we have issues with delay in data that is little scary for us.

Please help us to resolve it. I am asking this question 2nd time.

Thank you.

Regards,

Dhwani.

Thank you. We are looking into this and will update you by tomorrow.

Thank you @spadmanabhan. I really appreciating your help. 🙂

Dhwani,

I changed the timernge on the api call as below and got the results below. Looks like the api will work - it just needed a different time range. Hope this helps

https://api.enterprise.apigee.com/v1/o/verizonvent...

Response:

{
  "environments" : [ {
    "dimensions" : [ {
      "metrics" : [ {
        "name" : "sum(message_count)",
        "values" : [ {
          "timestamp" : 1444003200000,
          "value" : "9.0"
        } ]
      } ],
      "name" : "vzhackteam_01"
    }, {
      "metrics" : [ {
        "name" : "sum(message_count)",
        "values" : [ {
          "timestamp" : 1444003200000,
          "value" : "88.0"
        } ]
      } ],
      "name" : "VZHackTeam_01-Master"
    } ],
    "name" : "prod"
  } ],
  "metaData" : {
    "errors" : [ ],
    "notices" : [ "query served by:08ecbe23-7301-4275-a4c9-2bc8b6974d70", "Table used: verizonventures.prod.agg_app", "source pg:30d2cf39-3804-4212-a11b-0b64e1cbe306" ]
  }
}