Example 4: Querying All Log Streams in a Log Group
Scenario
This section describes how to query information about all log streams in a specified log group.
Other Involved APIs
None
Querying Log Streams
- URI format
GET /v2/{project_id}/groups/{log_group_id}/streams
- Example Request
GET https://{endpoint}/v2/{project_id}/groups/{log_group_id}/streams
Obtain the value of {endpoint} from Endpoints.
- Example Response
{ "log_streams" : [ { "creation_time" : number, "log_stream_name" : "string", "log_stream_id" : "string", "filter_count" : number } ] }
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot