Archive for the ‘Google Cloud’ Category

Google Cloud in PHP




At this post I will give some examples of how to use Google APIs Client Library for PHP in order for interact with Google Cloud. Google BigQuery API client library for PHP First you need to download Google BigQuery API client library for PHP (download Google BigQuery API client library here). Open it and use […]






Bash script to upload from Google Cloud Storage to Google BigQuery




The following Bash script is using the Google bq.py tool to upload logs files (statistics) from Google Cloud to Google BigQuery. The script uploading several logs files to one table and has the ability to manipulate the data and insert it to new table at BigQuery. For uploading the logs to the Google Cloud please […]






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, […]