forked from docs/doc-exports
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>
26 lines
5.0 KiB
HTML
26 lines
5.0 KiB
HTML
<a name="lts_04_0003"></a><a name="lts_04_0003"></a>
|
|
|
|
<h1 class="topictitle1">Managing Log Groups</h1>
|
|
<div id="body32001227"><p id="lts_04_0003__en-us_topic_0000001125775239_p5325173061518">A log group is a group of log streams which share the same log retention settings. Up to 100 log groups can be created for a single account.</p>
|
|
<div class="section" id="lts_04_0003__en-us_topic_0000001125775239_se2459b5266d5409991b981d947d68462"><h4 class="sectiontitle">Creating a Log Group</h4><ol id="lts_04_0003__en-us_topic_0000001125775239_ol528295517373"><li id="lts_04_0003__en-us_topic_0000001125775239_li388862204110">Log in to the LTS console, choose <strong id="lts_04_0003__en-us_topic_0000001125775239_b196359251473">Log Management</strong> in the navigation pane on the left, and click <strong id="lts_04_0003__en-us_topic_0000001125775239_b364082514710">Create Log Group</strong> in the upper right corner.<p id="lts_04_0003__en-us_topic_0000001125775239_p179951323185918"><span><img id="lts_04_0003__en-us_topic_0000001125775239_image13783162525913" src="en-us_image_0000001368010788.png"></span></p>
|
|
</li><li id="lts_04_0003__en-us_topic_0000001125775239_li488139144520">In the dialog box displayed, enter a log group name. After a log group is created, its name cannot be changed. A log group name:<ul id="lts_04_0003__en-us_topic_0000001125775239_ul1541720124619"><li id="lts_04_0003__en-us_topic_0000001125775239_li1449201464">Can contain only letters, digits, hyphens (-), underscores (_), and periods (.).</li><li id="lts_04_0003__en-us_topic_0000001125775239_li711994212516">Cannot start with a period (.) or underscore (_), and cannot end with a period (.).</li><li id="lts_04_0003__en-us_topic_0000001125775239_li114220204618">Can contain 1 to 64 characters.</li></ul>
|
|
<div class="note" id="lts_04_0003__en-us_topic_0000001125775239_note945514416454"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="lts_04_0003__en-us_topic_0000001125775239_p024714323303">Collected logs are sent to the log streams in the log group. If there are too many logs to collect, you are advised to separate logs into different log groups based on log types, and name log groups in an easily identifiable way.</p>
|
|
</div></div>
|
|
</li><li id="lts_04_0003__en-us_topic_0000001125775239_li06577445326">Log retention duration is 7 days by default and cannot be modified.<p id="lts_04_0003__en-us_topic_0000001125775239_p156141801511"><a name="lts_04_0003__en-us_topic_0000001125775239_li06577445326"></a><a name="en-us_topic_0000001125775239_li06577445326"></a><span><img id="lts_04_0003__en-us_topic_0000001125775239_image139591611312" src="en-us_image_0000001419010601.png"></span></p>
|
|
<p id="lts_04_0003__en-us_topic_0000001125775239_p7758959404"></p>
|
|
</li><li id="lts_04_0003__en-us_topic_0000001125775239_li16283185518373">Click <strong id="lts_04_0003__en-us_topic_0000001125775239_b197511022121713">OK</strong>.</li><li id="lts_04_0003__en-us_topic_0000001125775239_li3809652185419">In the log group list on the <strong id="lts_04_0003__en-us_topic_0000001125775239_b1356511313206">Log Management</strong> page, you can view details of the log group, including log group name, log retention duration, creation time, and creation type.</li></ol>
|
|
</div>
|
|
<div class="section" id="lts_04_0003__en-us_topic_0000001125775239_section1571594316373"><h4 class="sectiontitle">Deleting a Log Group</h4><p id="lts_04_0003__en-us_topic_0000001125775239_p676517115314">You can delete a log group that is no longer needed. Deleting a log group will also delete the log streams and log data in the log group. Deleted log groups cannot be recovered. Exercise caution when performing the deletion.</p>
|
|
<div class="note" id="lts_04_0003__en-us_topic_0000001125775239_note49931510113217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="lts_04_0003__en-us_topic_0000001125775239_p1799371063214">If you want to delete a log group that is associated with a log transfer task, delete the task first.</p>
|
|
</div></div>
|
|
<ol id="lts_04_0003__en-us_topic_0000001125775239_ol1946019329405"><li id="lts_04_0003__en-us_topic_0000001125775239_li124615324406">In the log group list on the <strong id="lts_04_0003__en-us_topic_0000001125775239_b1438893312243">Log Management</strong> page, locate the target log group and click <strong id="lts_04_0003__en-us_topic_0000001125775239_b838903314246">Delete</strong> in the <strong id="lts_04_0003__en-us_topic_0000001125775239_b13898334240">Operation</strong> column.</li><li id="lts_04_0003__en-us_topic_0000001125775239_li1275983414810">Enter <strong id="lts_04_0003__en-us_topic_0000001125775239_b6476185110180">DELETE</strong> and click <strong id="lts_04_0003__en-us_topic_0000001125775239_b1247755121812">Yes</strong>.<p id="lts_04_0003__en-us_topic_0000001125775239_p141391614155120"></p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="lts_04_0002.html">Log Management</a></div>
|
|
</div>
|
|
</div>
|
|
|