Archive for May 2015

Bash script to upload logs to Google Cloud Storage




The following Bash script is using the Google Gsutil tool to upload hourly rotated server logs files (statistics) to Google Cloud. For a Bash script to upload logs files from Google Cloud to Google Bigquery please read Bash script to upload from Google Cloud storage to Google Bigquery. Because the logs are rotating every hour, […]






Google BigQuery API Client Example in PHP




Here is an example of how to use Google APIs Client Library for PHP in order for interact with Google BigQuery. First you need to download Google BigQuery API client library for PHP (download from here). Open it and use only the Google directory. Before coding, please validate that you have a Google BigQuery account […]