Timeseries Insights API audit logging

This document describes audit logging for Timeseries Insights API. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:

Service name

Timeseries Insights API audit logs use the service name timeseriesinsights.googleapis.com. Filter for this service:

    protoPayload.serviceName="timeseriesinsights.googleapis.com"
  

Methods by permission type

Each IAM permission has a type property, whose value is an enum that can be one of four values: ADMIN_READ, ADMIN_WRITE, DATA_READ, or DATA_WRITE. When you call a method, Timeseries Insights API generates an audit log whose category is dependent on the type property of the permission required to perform the method. Methods that require an IAM permission with the type property value of DATA_READ, DATA_WRITE, or ADMIN_READ generate Data Access audit logs. Methods that require an IAM permission with the type property value of ADMIN_WRITE generate Admin Activity audit logs.

Permission type Methods
ADMIN_READ google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.EvaluateSlice
google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.ListDataSets
google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.QueryDataSet
ADMIN_WRITE google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.AppendEvents
google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.CreateDataSet
google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.DeleteDataSet

API interface audit logs

For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Timeseries Insights API.

google.cloud.timeseriesinsights.v1.TimeseriesInsightsController

The following audit logs are associated with methods belonging to google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.

AppendEvents

  • Method: google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.AppendEvents
  • Audit log type: Admin activity
  • Permissions:
    • timeseriesinsights.datasets.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.AppendEvents"

CreateDataSet

  • Method: google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.CreateDataSet
  • Audit log type: Admin activity
  • Permissions:
    • timeseriesinsights.datasets.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.CreateDataSet"

DeleteDataSet

  • Method: google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.DeleteDataSet
  • Audit log type: Admin activity
  • Permissions:
    • timeseriesinsights.datasets.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.DeleteDataSet"

EvaluateSlice

  • Method: google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.EvaluateSlice
  • Audit log type: Data access
  • Permissions:
    • timeseriesinsights.datasets.evaluate - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.EvaluateSlice"

ListDataSets

  • Method: google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.ListDataSets
  • Audit log type: Data access
  • Permissions:
    • timeseriesinsights.datasets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.ListDataSets"

QueryDataSet

  • Method: google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.QueryDataSet
  • Audit log type: Data access
  • Permissions:
    • timeseriesinsights.datasets.query - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.timeseriesinsights.v1.TimeseriesInsightsController.QueryDataSet"

Methods that don't produce audit logs

A method might not produce audit logs for one or more of the following reasons:

  • It is a high volume method involving signifcant log generation and storage costs.
  • It has low auditing value.
  • Another audit or platform log already provides method coverage.

The following methods don't produce audit logs:

  • google.cloud.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations