Help Center/
Log Tank Service/
API Reference/
Examples/
Example 2: Querying All Log Groups of an Account
Updated on 2024-10-28 GMT+08:00
Example 2: Querying All Log Groups of an Account
Scenario
This section describes how to query all log groups of an account.
Other Involved APIs
None
Querying Log Groups
- URI format
GET /v2/{project_id}/groups
- Example Request
GET https://{endpoint}/v2/{project_id}/groups
Obtain the value of {endpoint} from Endpoints.
- Example Response
{"log_groups" : [{"creation_time" : number,"log_group_name" : "string","log_group_id" : "string","ttl_in_days" : 1}]}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot