Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Can you retrieve system.timestamp":"{system.timestamp}" via the Apigee Analytics metrics API ?

I understand under message logging we can extract system.timestamp":"{system.timestamp}" along with various other timestamps.

"client.received.start.timestamp":"{client.received.start.timestamp}",
"client.sent.end.timestamp":"{client.sent.end.timestamp}",
"target.sent.start.timestamp":"{target.sent.start.timestamp}",
"target.received.end.timestamp":"{target.received.end.timestamp}",

But we are wanting to use the metrics API to obtain certain metrics via the API , as an example :

https://api.enterprise.apigee.com/v1/o/{org_name}/environments/prod/stats/apiproxy,request_path,request_uri,request_verb,?select=sum(message_count)&timeRange=08/26/2022%2000:00~08/26/2022%2023:59&timeUnit=minute

But need the actual system.timestamp":"{system.timestamp} of the request being made so is this possible using the metrics  API ?  Cant seem to find a way to do this apart from the metrics using  timeUnit=

Basically we just need the physical timestamp of each request made and not in a time unit but the actual timestamp. As you can see from my example API metrics Curl its the requests we are primarily needing in this particular situation.

Cant seem to find anything in the docs to elaborate on this so thought i'd ask the community here for some help.

 

0 1 491
1 REPLY 1