doc-exports/docs/lts/api-ref/lts_api_0006.html
Hasko, Vladimir 255730fbf9 lts_api (recreate of #279)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 09:17:17 +00:00

17 lines
1.9 KiB
HTML

<a name="lts_api_0006"></a><a name="lts_api_0006"></a>
<h1 class="topictitle1">Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID</h1>
<div id="body32001227"><div class="section" id="lts_api_0006__en-us_topic_0181168335_section5923191316454"><h4 class="sectiontitle">Obtaining Account and Project IDs</h4><p id="lts_api_0006__en-us_topic_0181168335_p1666865232018">Account and project IDs are required in URLs when you call some APIs.</p>
</div>
<div class="section" id="lts_api_0006__en-us_topic_0181168335_section56021943175912"><h4 class="sectiontitle">Obtaining Log Group and Log Stream IDs</h4><ul id="lts_api_0006__en-us_topic_0181168335_ul207821114886"><li id="lts_api_0006__en-us_topic_0181168335_li978217143817">Obtain the IDs from the console.<ol id="lts_api_0006__en-us_topic_0181168335_ol1081123314813"><li id="lts_api_0006__en-us_topic_0181168335_li16811533283">Log in to the LTS console.</li><li id="lts_api_0006__en-us_topic_0181168335_li19123154641210">On the <strong id="lts_api_0006__en-us_topic_0181168335_b191161547202111">Log Management</strong> page, obtain the log group ID.</li><li id="lts_api_0006__en-us_topic_0181168335_li65912027151418">Click the name of a log group and obtain the log stream ID on the page displayed.</li></ol>
</li><li id="lts_api_0006__en-us_topic_0181168335_li1664633581518">Obtain the IDs by calling APIs.<ul id="lts_api_0006__en-us_topic_0181168335_ul189111541181510"><li id="lts_api_0006__en-us_topic_0181168335_li131936407152"><a href="lts_api_0013.html#lts_api_0013">Querying All Log Groups of an Account</a></li><li id="lts_api_0006__en-us_topic_0181168335_li1535407169"><a href="lts_api_0017.html#lts_api_0017">Querying All Log Streams in a Specified Log Group</a></li></ul>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="lts_02_0019.html">Public Parameters</a></div>
</div>
</div>