This function describes how to query a log stream you have created to obtain its name, ID, expiration time, and creation time.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
group_id |
Yes |
String |
Log group ID |
topic_id |
Yes |
String |
ID of a log stream |
Parameter |
Sub-Parameter |
Type |
Description |
---|---|---|---|
log_topic_name |
- |
String |
Log stream name |
creation_time |
- |
Int64 |
Log group creation time |
index_enabled |
- |
Bool |
Search switch |
{ "log_topic_name": "lts-topic-jgpv", "creation_time": 1550803822973, "index_enabled": true }
For details, see Status Code.