doc-exports/docs/lts/umn/lts_04_0010.html
Hasko, Vladimir 4ab0cf8c88 LTS UMN 0929 (recreate of #277)
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:59:13 +00:00

25 lines
4.8 KiB
HTML

<a name="lts_04_0010"></a><a name="lts_04_0010"></a>
<h1 class="topictitle1">Quick Search</h1>
<div id="body32001227"><p id="lts_04_0010__en-us_topic_0206300809_p1026082805216">To search for logs using a keyword repeatedly, perform the following operations to configure quick search.</p>
<div class="section" id="lts_04_0010__en-us_topic_0206300809_section58991525165110"><h4 class="sectiontitle">Procedure</h4><ol id="lts_04_0010__en-us_topic_0206300809_ol6569343163310"><li id="lts_04_0010__en-us_topic_0206300809_li3537165075418">Log in to the LTS console and choose <strong id="lts_04_0010__en-us_topic_0206300809_b171630477332">Log Management</strong>.</li><li id="lts_04_0010__en-us_topic_0206300809_li1277132885510">In the log group list, click the name of a log group.</li><li id="lts_04_0010__en-us_topic_0206300809_li1667373725615">In the log stream list, click the name of a log stream.<p id="lts_04_0010__en-us_topic_0206300809_p71071150141516"><a name="lts_04_0010__en-us_topic_0206300809_li1667373725615"></a><a name="en-us_topic_0206300809_li1667373725615"></a>Alternatively, click <strong id="lts_04_0010__en-us_topic_0206300809_b570192562519">Search</strong> in the <strong id="lts_04_0010__en-us_topic_0206300809_b16706192516250">Operation</strong> column of the row containing the target log stream.</p>
</li><li id="lts_04_0010__en-us_topic_0206300809_li2061317016203">On the log stream details page, click <strong id="lts_04_0010__en-us_topic_0206300809_b1776816144566">Add Quick Search</strong> and configure the <strong id="lts_04_0010__en-us_topic_0206300809_b3260122719256">Name</strong> and <strong id="lts_04_0010__en-us_topic_0206300809_b3164530172519">Keyword</strong> parameters.<div class="p" id="lts_04_0010__en-us_topic_0206300809_p95946422293"><ul id="lts_04_0010__en-us_topic_0206300809_ul23361538182918"><li id="lts_04_0010__en-us_topic_0206300809_li1336203816292">Set <strong id="lts_04_0010__en-us_topic_0206300809_b7273193910117">Name</strong>. A quick search name:<ul id="lts_04_0010__en-us_topic_0206300809_ul11336143842913"><li id="lts_04_0010__en-us_topic_0206300809_li103351138172914">Can contain only letters, digits, hyphens (-), underscores (_), and periods (.).</li><li id="lts_04_0010__en-us_topic_0206300809_li73367387295">Cannot start with a period (.) or underscore (_), and cannot end with a period (.).</li><li id="lts_04_0010__en-us_topic_0206300809_li5336173814297">Can contain 1 to 64 characters.</li></ul>
</li><li id="lts_04_0010__en-us_topic_0206300809_li15336203832913">Set <strong id="lts_04_0010__en-us_topic_0206300809_b247712182918">Keyword</strong> to a keyword that will be frequently used, for example, <strong id="lts_04_0010__en-us_topic_0206300809_b18528175611455">error*</strong>.</li></ul>
</div>
</li><li id="lts_04_0010__en-us_topic_0206300809_li82763566286">Click <strong id="lts_04_0010__en-us_topic_0206300809_b16262411141313">OK</strong>.<p id="lts_04_0010__en-us_topic_0206300809_p1072320208291">Added query search filters are displayed next to <strong id="lts_04_0010__en-us_topic_0206300809_b4589105514819">Add Quick Search</strong>. Click the name of a quick search filter to view the search results.</p>
</li></ol>
</div>
<div class="section" id="lts_04_0010__en-us_topic_0206300809_section9981261620"><h4 class="sectiontitle">Viewing Context of a Log</h4><p id="lts_04_0010__en-us_topic_0206300809_p19257437581">You can check the log events generated before and after a log event for quick fault locating.</p>
<ol id="lts_04_0010__en-us_topic_0206300809_ol7613132317170"><li id="lts_04_0010__en-us_topic_0206300809_li15550133612283">Log in to the LTS console and choose <strong id="lts_04_0010__en-us_topic_0206300809_b715825316338">Log Management</strong>.</li><li id="lts_04_0010__en-us_topic_0206300809_li179270524312">In the log group list, click the name of a log group.</li><li id="lts_04_0010__en-us_topic_0206300809_li792815223110">In the log stream list, click the name of a log stream.<p id="lts_04_0010__en-us_topic_0206300809_p79286529311"><a name="lts_04_0010__en-us_topic_0206300809_li792815223110"></a><a name="en-us_topic_0206300809_li792815223110"></a>Alternatively, click <strong id="lts_04_0010__en-us_topic_0206300809_b89021612181418">Search</strong> in the <strong id="lts_04_0010__en-us_topic_0206300809_b5907191261418">Operation</strong> column of the row containing the target log stream.</p>
</li><li id="lts_04_0010__en-us_topic_0206300809_li149504278510">On the Original Logs tab page, click <strong id="lts_04_0010__en-us_topic_0206300809_b1662073110445">View Context</strong> in the row of a log event.<p id="lts_04_0010__en-us_topic_0206300809_p676510116173">The context of the log is displayed.</p>
<p id="lts_04_0010__en-us_topic_0206300809_p4521191718289"></p>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="lts_04_0007.html">Log View</a></div>
</div>
</div>