Cloud Export Logs - Stackdriver - Export to Cloud Storage, BigQuery, or Cloud Pub/Sub

13 views
Skip to first unread message

Alan Wells

unread,
Aug 1, 2019, 10:04:24 AM8/1/19
to Google Apps Script Community
Stackdriver logs can be exported to Cloud Storage, BigQuery, or Cloud Pub/Sub.  If I wanted to then put those logs into a Google spreadsheet, which one of those 3 would be the best to use?

Dimu Designs

unread,
Aug 1, 2019, 1:34:18 PM8/1/19
to Google Apps Script Community
None of the above. Just use the Stack Driver Logging REST API directly instead of going through an intermediary.

You can find reference documentation at the link below:
https://cloud.google.com/logging/docs/reference/v2/rest/

Alan Wells

unread,
Aug 1, 2019, 2:00:10 PM8/1/19
to Google Apps Script Community
Thank you.  I guess that I'd use the:

Logs - List

or

Entries - List

It looks like entries.list can filter and order the data.


Instead of using Apps Script to make the request, what are the other options?  Cloud function?
Reply all
Reply to author
Forward
0 new messages