Alibaba Cloud Time Series Database (TSDB) is integrated with ActionTrail. You can view and retrieve user behavior logs in ActionTrail and deliver the logs to a Log Service Logstore or an Object Storage Service (OSS) bucket. This meets the requirements of real-time auditing and problem backtracking analysis.

TSDB operation logs in ActionTrail

Logs are generated in ActionTrail when you call API operations of TSDB. The eventType parameter in the logs is ApiCall.

Some API operations are not included in the API overview. The following table describes these API operations.
Operation Description
CreateHiTSDBUser Create a TSDB instance user.
DeleteHiTSDBUser Deletes a TSDB instance user.
CreateTSDBInstanceEndpoint Creates a TSQL instance connection string.
DeleteTSDBInstanceEndpoint Deletes a TSQL instance connection string.
DescribeTSDBInstanceEndpointList Queries TSQL instance connection strings.
CreateTSDBInstanceNetworkInterface Enables a public endpoint of a TSDB instance.
CreateTSDBInstanceSingleTunnel Enables a TSQL VPC endpoint of a TSDB instance.
DeleteHiTSDBInstanceDataAsync Asynchronously deletes the data that is stored in a TSDB instance.
DeleteHiTSDBInstanceMetaAsync Asynchronously deletes the metadata of a TSDB instance.
UpdateHiTSDBInstanceDataTtl Sets the data retention period of a TSDB instance.
UpgradeHiTSDBInstanceVersion Updates a TSDB instance version.
ExploreHiTSDBInstanceData Queries the data that is stored in a TSDB instance.
ExploreHiTSDBInstanceDataBySQL Queries the data of a TSDB instance by using an SQL statement.
ExploreHiTSDBInstanceDataFieldList Queries fields in a TSDB instance.
ExploreHiTSDBInstanceDataMetricList Queries metrics in a TSDB instance.
ExploreHiTSDBInstanceDataTagKeyList Queries tag keys in a TSDB instance.
ExploreHiTSDBInstanceDataTagValueList Queries tag values in a TSDB instance.
DescribeHiTSDBInstancePerformance Queries the performance data of a TSDB instance.
DescribeHiTSDBInstancePerformanceSummary Queries the performance overview of a TSDB instance.
DescribeHiTSDBInstanceSimpleConfig Queries the basic information about a TSDB instance and checks whether user authentication is supported.
DescribeHiTSDBInstanceVersionInfo Queries the information about a TSDB instance version.
DescribeTSDBInstanceSingleTunnelList Queries the VPC endpoint of a TSDB instance.
DescribeTStreamEnable Queries whether preprocessing is supported.
DescribeTStreamRuleList Queries preprocessing tasks.
UpdateHiTSDBUserConfig Modifies the user configuration information of a TSDB instance.
CreateTSDBUser Creates a TSDB user by using GaiaSQL.
DescribeTSDBUserList Queries TSDB users by using GaiaSQL.
CreateInstancePluginTask Creates a task to import data to Log Service.
UpdateInstancePluginTask Updates a task to import data to Log Service.
ExploreInstancePluginTask Queries tasks to import data to Log Service.
DescribeMonitors Queries monitors.
DescribeRdsInstances Queries ApsaraDB RDS instances.
DescribeTSDBAvailableResource Queries the regions and specifications that are supported by TSDB.
DescribeTSDBInstanceUpgradeAvailableResource Queries the available specifications of a TSDB instance.
ListTSDBInstanceNetworkInterfaces Queries the network interface controller information of a TSDB instance.
WriteHiTSDBInstanceDemoData Writes test data to a TSDB instance.
DescribeUserRamRoleAuthorization Queries whether a user has Resource Access Management (RAM) permissions.
ListArmsDashboards Queries Application Real-Time Monitoring Service (ARMS) dashboards.
OpenArmsService Activates ARMS dashboards.
CreateInfluxdbDatabase Creates a TSDB for InfluxDB® database.
DeleteInfluxdbDatabase Deletes a TSDB for InfluxDB® database.
CreateInfluxdbUser Creates a TSDB for InfluxDB® user.
UpdateInfluxdbUser Updates a TSDB for InfluxDB® user.
DeleteInfluxdbUser Deletes a TSDB for InfluxDB® user.
DescribeInfluxdbDatabaseMeasurement Queries TSDB for InfluxDB® measurements.
DeleteInfluxdbMeasurement Creates a TSDB for InfluxDB® measurement.
DescribeInfluxdbDatabaseSeriese Queries TSDB for InfluxDB® series.
DeleteInfluxdbSeries Creates a TSDB for InfluxDB® series.
DescribeInfluxdbAccountPermission Queries the permissions of a TSDB for InfluxDB® user.
UpdateInfluxdbAccountPermission Sets the permissions of a TSDB for InfluxDB® user.
UpdateInfluxdbDatabaseRetention Sets the retention policy of a TSDB for InfluxDB® instance.
DescribeInfluxdbDatabaseRetention Queries the retention policy of a TSDB for InfluxDB® instance.
DescribeMoveInfluxdbPermission Checks whether a TSDB for InfluxDB® instance is available and whether database names are unique.
CreateInfluxdbDataBackupTask Creates a backup task for a TSDB for InfluxDB® instance.
CreateInfluxdbDataMigrationTask Creates a migration task for a TSDB for InfluxDB® instance.
DescribeInfluxDBAvailableResource Queries the available specifications of a TSDB for InfluxDB® instance.
DescribeInfluxDBDataBackupList Queries the backup tasks of a TSDB for InfluxDB® instance.
DescribeInfluxDBDataRestoreList Queries the data recovery tasks of a TSDB for InfluxDB® instance.
DescribeInfluxdbDatabaseListWithDefaultRetention Queries the databases and retention policies of a TSDB for InfluxDB® instance.
DescribeInfluxdbDataMigrationTaskList Queries the migration tasks of a TSDB for InfluxDB® instance.
DescribeInfluxdbUserListWithPermission Queries the accounts and permissions of a TSDB for InfluxDB® instance.
DescribeRemoteInfluxdbSchemaInfo Queries the schema information of a TSDB for InfluxDB® instance.
ListGrafanaUsers Queries the Grafana accounts of a TSDB for InfluxDB® instance.
CreateGrafanaUser Creates a Grafana account for a TSDB for InfluxDB® instance.
UpdateGrafanaUser Updates a Grafana account of a TSDB for InfluxDB® instance.
DeleteGrafanaUser Deletes a Grafana account of a TSDB for InfluxDB® instance.
CreateGrafanaDataSource Creates a Grafana data source for a TSDB for InfluxDB® instance.
ListGrafanaDataSources Queries the Grafana data sources of a TSDB for InfluxDB® instance.
UpdateGrafanaDataSource Updates a Grafana data source for a TSDB for InfluxDB® instance.

TSDB log example

The following example shows the log data that is generated in ActionTrail when a TSDB instance is created by using the CreateHiTSDBInstance operation.
{
  "eventId": "DC53ABB0-27D6-43D5-B33D-161AA25FC0F0",
  "eventVersion": 1,
  "responseElements": {
    "RequestId": "DC53ABB0-27D6-43D5-B33D-161AA25FC0F0",
    "Message": "The parameter is invalid.",
    "Recommend": "https://error-center.aliyun.com/status/search?Keyword=TSDB.Errorcode.ParameterInvaild&source=PopGw",
    "HostId": "hitsdb.cn-hangzhou.aliyuncs.com",
    "Code": "TSDB.Errorcode.ParameterInvaild"
  },
  "errorMessage": "The parameter is invalid.",
  "eventSource": "hitsdb.cn-hangzhou.aliyuncs.com",
  "requestParameters": {
    "AcsHost": "hitsdb.cn-hangzhou.aliyuncs.com",
    "InstanceStorage": 50,
    "ZoneId": "cn-hangzhou-f",
    "RequestId": "DC53ABB0-27D6-43D5-B33D-161AA25FC0F0",
    "VPCId": "vpc-xxxxxxxxxxxxxxxxxxxxx",
    "PricingCycle": "Month",
    "VSwitchId": "vsw-xxxxxxxxxxxxxxxxxxxxx",
    "Duration": 1,
    "InstanceClass": "tsdb.1x.basic",
    "PayType": "POSTPAY",
    "HostId": "hitsdb.cn-hangzhou.aliyuncs.com",
    "InstanceName": "test",
    "AcsProduct": "hitsdb",
    "InstanceAlias": "test",
    "TSDBVersion": "TSDB1.0",
    "MaxTimelineLimit": 2400000,
    "RegionId": "cn-hangzhou",
    "InstanceTps": 10000
  },
  "errorCode": "TSDB.Errorcode.ParameterInvaild",
  "sourceIpAddress": "Internal",
  "eventType": "ApiCall",
  "userIdentity": {
    "accessKeyId": "LTAIVAhfPt8nSgzp",
    "sessionContext": {
      "attributes": {
        "mfaAuthenticated": "false"
      }
    },
    "accountId": "1000000000000000",
    "principalId": "1000000000000000",
    "type": "root-account",
    "userName": "root"
  },
  "serviceName": "TSDB",
  "additionalEventData": {
    "Scheme": "http"
  },
  "apiVersion": "2017-06-01",
  "requestId": "DC53ABB0-27D6-43D5-B33D-161AA25FC0F0",
  "eventTime": "2020-12-25T04:13:00Z",
  "isGlobal": false,
  "acsRegion": "cn-hangzhou",
  "eventName": "CreateHiTSDBInstance"
}