Log API requests to Google Big Query
API toolRecipe ToolsNLUArtificial Intelligence
What it does
When someone makes an API request to the Api Platform, this automation logs the request details to a job report. The data is sent to Google Big Query for storage and analysis, and the response is returned in real time.
Who it's for
Data and analytics teams who need to track API activity and store request logs for analysis.
How teams use this
Track API requests for compliance
Log every API request to a job report and Google Big Query so the team has a complete audit trail of who called the API and when. This setup keeps records for compliance reviews.
Monitor API performance over time
Store API request metadata in Google Big Query to analyze response times and error rates. The team can query the data to spot trends and optimize the API.
Filter requests by type before logging
Add a condition to check the request type and only log certain requests to Google Big Query. This reduces storage costs and keeps the dataset focused on high-value requests.
How it works
- Receive the API request. An API request arrives at the Api Platform with the payload data in real time so the automation can process it immediately.
- Log message to job report. Record the request details in the job report so the request history is visible for debugging and auditing purposes.
- Store data in Google Big Query. Send the API request data to Google Big Query for long-term storage and analytics on request patterns and performance metrics.