tencent cloud


Querying Data

Last updated: 2022-01-14 14:50:50

    Request Address

    The address is the instance IP and port, such as, which can be obtained in the console.

    Request Path and Method

    Path: ${metric_name}/_search, where ${metric_name} is the metric name.
    Method: GET

    Request Parameters

    You can set the _routing parameter during data write to improve the query efficiency. For more information, please see the samples.

    Request Content

    Queries mainly include regular queries and aggregate queries. Query requests are fully compatible with Elasticsearch APIs. For the specific request content, please see the samples.

    Response Content

    You need to judge whether a request is successful based on the error field. If the response content contains the error field, the request failed. For the error details, please see the error field description.

    Sample Code for curl

    For specific query samples, please see Common Query Samples.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support