section> Computing
  • Auto Scaling
  • Bare Metal Server
  • Dedicated Host
  • Elastic Cloud Server
  • FunctionGraph
  • Image Management Service
Network
  • Direct Connect
  • Domain Name Service
  • Elastic IP
  • Elastic Load Balancing
  • Enterprise Router
  • NAT Gateway
  • Private Link Access Service
  • Secure Mail Gateway
  • Virtual Private Cloud
  • Virtual Private Network
  • VPC Endpoint
Storage
  • Cloud Backup and Recovery
  • Cloud Server Backup Service
  • Elastic Volume Service
  • Object Storage Service
  • Scalable File Service
  • Storage Disaster Recovery Service
  • Volume Backup Service
Application
  • API Gateway (APIG)
  • Application Operations Management
  • Application Performance Management
  • Distributed Message Service (for Kafka)
  • Simple Message Notification
Data Analysis
  • Cloud Search Service
  • Data Lake Insight
  • Data Warehouse Service
  • DataArts Studio
  • MapReduce Service
  • ModelArts
  • Optical Character Recognition
Container
  • Application Service Mesh
  • Cloud Container Engine
  • Cloud Container Instance
  • Software Repository for Containers
Databases
  • Data Replication Service
  • Distributed Cache Service
  • Distributed Database Middleware
  • Document Database Service
  • GeminiDB
  • Relational Database Service
  • TaurusDB
Management & Deployment
  • Cloud Create
  • Cloud Eye
  • Cloud Trace Service
  • Config
  • Log Tank Service
  • Resource Formation Service
  • Tag Management Service
Security Services
  • Anti-DDoS
  • Cloud Firewall
  • Database Security Service
  • Dedicated Web Application Firewall
  • Host Security Service
  • Identity and Access Management
  • Key Management Service
  • Web Application Firewall
Other
  • Enterprise Dashboard
  • Marketplace
  • Price Calculator
  • Status Dashboard
APIs
  • REST API
  • API Usage Guidelines
  • Endpoints
Development and Automation
  • SDKs
  • Drivers and Tools
  • Terraform
  • Ansible
  • Cloud Create
Architecture Center
  • Best Practices
  • Blueprints
IaaSComputingAuto ScalingBare Metal ServerDedicated HostElastic Cloud ServerFunctionGraphImage Management ServiceNetworkDirect ConnectDomain Name ServiceElastic IPElastic Load BalancingEnterprise RouterNAT GatewayPrivate Link Access ServiceSecure Mail GatewayVirtual Private CloudVirtual Private NetworkVPC EndpointStorageCloud Backup and RecoveryCloud Server Backup ServiceElastic Volume ServiceObject Storage ServiceScalable File ServiceStorage Disaster Recovery ServiceVolume Backup ServicePaaSApplicationAPI Gateway (APIG)Application Operations ManagementApplication Performance ManagementDistributed Message Service (for Kafka)Simple Message NotificationData AnalysisCloud Search ServiceData Lake InsightData Warehouse ServiceDataArts StudioMapReduce ServiceModelArtsOptical Character RecognitionContainerApplication Service MeshCloud Container EngineCloud Container InstanceSoftware Repository for ContainersDatabasesData Replication ServiceDistributed Cache ServiceDistributed Database MiddlewareDocument Database ServiceGeminiDBRelational Database ServiceTaurusDBManagementManagement & DeploymentCloud CreateCloud EyeCloud Trace ServiceConfigLog Tank ServiceResource Formation ServiceTag Management ServiceSecuritySecurity ServicesAnti-DDoSCloud FirewallDatabase Security ServiceDedicated Web Application FirewallHost Security ServiceIdentity and Access ManagementKey Management ServiceWeb Application FirewallOtherOtherEnterprise DashboardMarketplacePrice CalculatorStatus Dashboard

Log Tank Service

  • API Description
  • API Overview
  • Calling APIs
  • APIs
    • Log Group Management (Old Version)
    • Log Stream Management (Old Version)
    • Host Group Management
    • Log Group Management
    • Log Stream Management
    • Log Management
    • Log Ingestion
    • Log Transfer
    • Log Collection Beyond Free Quota
    • Cloud Structuring
    • Alarm Topics
    • Message Template Management
    • Keyword Alarm Rules
    • Alarm List
    • Tag Management
    • Quick Search
      • Adding a Quick Search
      • Obtaining a Quick Search
      • Deleting a Quick Search
      • Querying All Quick Searches in a Log Group
  • Appendix
  • Change History
  • API Reference
  • APIs
  • Quick Search
  • Adding a Quick Search

Adding a Quick Search¶

Function¶

Adding a Quick Search

URI¶

POST /v1.0/{project_id}/groups/{group_id}/topics/{topic_id}/search-criterias

Table 1 Path Parameters¶

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain a project ID, see Obtaining the Project ID, Account ID, Log Group ID, and Log Stream ID.

Minimum: 32

Maximum: 32

group_id

Yes

String

ID of the log group whose log streams will be queried. Generally, it contains 36 characters.

Minimum: 36

Maximum: 36

topic_id

Yes

String

Log stream ID.

Minimum: 36

Maximum: 36

Request Parameters¶

Table 2 Request header parameters¶

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM. For details about how to obtain a user token, see Obtaining a User Token.

Minimum: 1000

Maximum: 2000

Content-Type

Yes

String

Set this parameter to application/json;charset=UTF-8.

Minimum: 30

Maximum: 30

Table 3 Request body parameters¶

Parameter

Mandatory

Type

Description

criteria

Yes

String

Quick search field. Enter the statement to be queried.

eps_id

No

String

Enterprise project ID.

name

Yes

String

Quick search name, which contains 1 to 64 characters,

including only letters, digits, underscores (_), hyphens (-), and periods (.). Do not start with a period or underscore or end with a period.

search_type

Yes

String

Search type, for example, raw logs.

Response Parameters¶

Status code: 201

Table 4 Response body parameters¶

Parameter

Type

Description

id

String

Quick search ID.

Status code: 400

Table 5 Response body parameters¶

Parameter

Type

Description

message

ErrorMessagebody object

Error message body.

Table 6 ErrorMessagebody¶

Parameter

Type

Description

code

String

Error code.

details

String

Error message.

Status code: 500

Table 7 Response body parameters¶

Parameter

Type

Description

message

ErrorMessagebody object

Error message body.

Table 8 ErrorMessagebody¶

Parameter

Type

Description

code

String

Error code.

details

String

Error message.

Example Requests¶

Adding a Quick Search

POST /v1.0/2a473356cca5487f8373be891bffc1cf/groups/d1f4240d-5ee2-4e0b-9e2c-e25c7978c001/topics/2b899d46-218c-4f0c-8ace-a36a290a83a0/search-criterias

{
  "name" : "test",
  "criteria" : "content : 1234567891234567891234567891234567891234567891234567891234567894",
  "eps_id" : "0",
  "search_type" : "ORIGINALLOG"
}

Example Responses¶

Status code: 201

Quick search added.

{
  "id" : "0eb379f5-f847-4d25-ba89-05967bf1bae3"
}

Status code: 400

Invalid request. Modify the request based on the description in error_msg before a retry.

{
  "message" : {
    "code" : "LTS.0208",
    "details" : "The log stream does not existed"
  }
}

Status code: 500

The server has received the request but encountered an internal error.

{
  "message" : {
    "code" : "LTS.0203",
    "details" : "Internal Server Error"
  }
}

Status Codes¶

Status Code

Description

201

Quick search added.

400

Invalid request. Modify the request based on the description in error_msg before a retry.

500

The server has received the request but encountered an internal error.

Error Codes¶

See Error Codes.

  • Prev
  • Next
last updated: 2025-06-16 13:40 UTC - commit: 458ef368f12a562960b71a9ec18624ad8e4e1566
Edit pageReport Documentation Bug
Page Contents
  • Adding a Quick Search
    • Function
    • URI
    • Request Parameters
    • Response Parameters
    • Example Requests
    • Example Responses
    • Status Codes
    • Error Codes
© T-Systems International GmbH
  • Contact
  • Data privacy
  • Disclaimer of Liabilities
  • Imprint