Stackdriver Logging API

Writes log entries and manages your Stackdriver Logging configuration.

Service logging.googleapis.com

All URIs below are relative to https://logging.googleapis.com

The Discovery URL of this API is https://logging.googleapis.com/$discovery/rest?version=v1beta3.

Collection v1beta3.projects.logServices

Method Description
list GET /v1beta3/{projectName=projects/*}/logServices
Lists the log services that have log entries in this project.

Collection v1beta3.projects.logServices.indexes

Method Description
list GET /v1beta3/{serviceName=projects/*/logServices/*}/indexes
Lists the current index values for a log service.

Collection v1beta3.projects.logServices.sinks

Method Description
create POST /v1beta3/{serviceName=projects/*/logServices/*}/sinks
Creates a log service sink.
delete DELETE /v1beta3/{sinkName=projects/*/logServices/*/sinks/*}
Deletes a log service sink.
get GET /v1beta3/{sinkName=projects/*/logServices/*/sinks/*}
Gets a log service sink.
list GET /v1beta3/{serviceName=projects/*/logServices/*}/sinks
Lists log service sinks associated with a log service.
update PUT /v1beta3/{sinkName=projects/*/logServices/*/sinks/*}
Updates a log service sink.

Collection v1beta3.projects.logs

Method Description
delete DELETE /v1beta3/{logName=projects/*/logs/*}
Deletes a log and all its log entries.
list GET /v1beta3/{projectName=projects/*}/logs
Lists the logs in the project.

Collection v1beta3.projects.logs.entries

Method Description
write POST /v1beta3/{logName=projects/*/logs/*}/entries:write
Writes log entries to Stackdriver Logging.

Collection v1beta3.projects.logs.sinks

Method Description
create POST /v1beta3/{logName=projects/*/logs/*}/sinks
Creates a log sink.
delete DELETE /v1beta3/{sinkName=projects/*/logs/*/sinks/*}
Deletes a log sink.
get GET /v1beta3/{sinkName=projects/*/logs/*/sinks/*}
Gets a log sink.
list GET /v1beta3/{logName=projects/*/logs/*}/sinks
Lists log sinks associated with a log.
update PUT /v1beta3/{sinkName=projects/*/logs/*/sinks/*}
Updates a log sink.

Collection v1beta3.projects.metrics

Method Description
create POST /v1beta3/{projectName=projects/*}/metrics
Creates a logs-based metric.
delete DELETE /v1beta3/{metricName=projects/*/metrics/*}
Deletes a logs-based metric.
get GET /v1beta3/{metricName=projects/*/metrics/*}
Gets a logs-based metric.
list GET /v1beta3/{projectName=projects/*}/metrics
Lists the logs-based metrics associated with a project.
update PUT /v1beta3/{metricName=projects/*/metrics/*}
Creates or updates a logs-based metric.

Collection v1beta3.projects.sinks

Method Description
create POST /v1beta3/{projectName=projects/*}/sinks
Creates a project sink.
delete DELETE /v1beta3/{sinkName=projects/*/sinks/*}
Deletes a project sink.
get GET /v1beta3/{sinkName=projects/*/sinks/*}
Gets a project sink.
list GET /v1beta3/{projectName=projects/*}/sinks
Lists project sinks associated with a project.
update PUT /v1beta3/{sinkName=projects/*/sinks/*}
Updates a project sink.