forked from laiweijian4/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> 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>
574 lines
40 KiB
HTML
574 lines
40 KiB
HTML
<a name="aom_04_1034"></a><a name="aom_04_1034"></a>
|
|
|
|
<h1 class="topictitle1">Querying Logs</h1>
|
|
<div id="body1606983050469"><div class="section" id="aom_04_1034__section13566355"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="aom_04_1034__p295566">This API is used to query logs by different dimensions such as cluster, IP address, or application.</p>
|
|
</div>
|
|
<div class="section" id="aom_04_1034__section54988338"><h4 class="sectiontitle">URI</h4><p id="aom_04_1034__p11386138152816">POST /v2/{project_id}/als/action?type=querylogs</p>
|
|
<p class="msonormal" id="aom_04_1034__p14141296"><a href="#aom_04_1034__table186473594509">Table 1</a> describes the parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="aom_04_1034__table186473594509"></a><a name="table186473594509"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table186473594509" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="aom_04_1034__row50373246"><th align="left" class="cellrowborder" valign="top" width="32.65%" id="mcps1.3.2.4.2.4.1.1"><p id="aom_04_1034__p53701151">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.490000000000002%" id="mcps1.3.2.4.2.4.1.2"><p id="aom_04_1034__p54826013">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.86%" id="mcps1.3.2.4.2.4.1.3"><p id="aom_04_1034__p11722079">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row9964366"><td class="cellrowborder" valign="top" width="32.65%" headers="mcps1.3.2.4.2.4.1.1 "><p id="aom_04_1034__p1807313">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.4.2.4.1.2 "><p id="aom_04_1034__p12174673">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.86%" headers="mcps1.3.2.4.2.4.1.3 "><p id="aom_04_1034__p46624437">Project ID obtained from IAM. Generally, a project ID contains 32 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row16966752"><td class="cellrowborder" valign="top" width="32.65%" headers="mcps1.3.2.4.2.4.1.1 "><p id="aom_04_1034__p32129686">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.2.4.2.4.1.2 "><p id="aom_04_1034__p52367780">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.86%" headers="mcps1.3.2.4.2.4.1.3 "><p id="aom_04_1034__p13931827">Log API call mode. When the value is <strong id="aom_04_1034__b603246709105338">querylogs</strong>, this API is used to query logs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="aom_04_1034__section25133000"><h4 class="sectiontitle">Request</h4><p class="msonormal" id="aom_04_1034__p51102566"><strong id="aom_04_1034__b57269912">Request parameters</strong></p>
|
|
<p class="msonormal" id="aom_04_1034__p45667164"><a href="#aom_04_1034__table1221212122718">Table 2</a> describes the request parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="aom_04_1034__table1221212122718"></a><a name="table1221212122718"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table1221212122718" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="aom_04_1034__row62039823"><th align="left" class="cellrowborder" valign="top" width="19.79%" id="mcps1.3.3.4.2.6.1.1"><p id="aom_04_1034__p59169766">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.5%" id="mcps1.3.3.4.2.6.1.2"><p id="aom_04_1034__p28021733">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.71%" id="mcps1.3.3.4.2.6.1.3"><p id="aom_04_1034__p55167925">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.6.1.4"><p id="aom_04_1034__p39416958">Value Range</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.6.1.5"><p id="aom_04_1034__p38656999">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row39993016572"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p1299412435303">Condition</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p502165718">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p160215573">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p9193141513317">{</p>
|
|
<p id="aom_04_1034__p13193191510317">"category": "app_log",</p>
|
|
<p id="aom_04_1034__p1219312159313">"searchKey":</p>
|
|
<p id="aom_04_1034__p11193171516313">{</p>
|
|
<p id="aom_04_1034__p1175012181463">"clusterId": "c693fa7c-54cd-11e8-8055-0255ac101e40",</p>
|
|
<p id="aom_04_1034__p1139134513212">"nameSpace": "",</p>
|
|
<p id="aom_04_1034__p18193131543119">"appName": "",</p>
|
|
<p id="aom_04_1034__p161931815143111">"podName": "",</p>
|
|
<p id="aom_04_1034__p1919351514318">"pathFile": "",</p>
|
|
<p id="aom_04_1034__p2193141543116">"hostIP":""</p>
|
|
<p id="aom_04_1034__p4193141583114">},</p>
|
|
<p id="aom_04_1034__p12193121511313">"keyWord": "",</p>
|
|
<p id="aom_04_1034__p619311151314">"startTime": 1538970064983,</p>
|
|
<p id="aom_04_1034__p17193115123114">"endTime": 1538970364983,</p>
|
|
<p id="aom_04_1034__p19193215153119">"hideSyslog": 0</p>
|
|
<p id="aom_04_1034__p1319315151316">}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p1051714356316">Condition in JSON format, which must be in the request body during calling.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row44209176"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p24173498">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p11896308">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p24076911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p4072787">app_log,node_log,custom_log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p0203560257">Log type:</p>
|
|
<ul id="aom_04_1034__ul11850122832418"><li id="aom_04_1034__li88506283244">app_log: application log</li><li id="aom_04_1034__li1585012822413">node_log: host log</li><li id="aom_04_1034__li108501228172410">custom_log: log in a custom path</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row16271742"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p42942734">searchKey</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p55809410">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p24268355">JSON</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p19579704">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p975214717378">Log filter criteria, which vary according to log sources.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row10445536"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p40782072">clusterId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p15013512">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p8134969">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p54952754">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p21988124">Cloud Container Engine (CCE) cluster ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row63675395"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p57433369">nameSpace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p221318121712">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p4063481">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p60706581">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p1218016103391">CCE cluster namespace.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row7126123018396"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p1112673011393">appName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p12126163073911">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p1712620307398">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p10126193013395">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p101261430103919">Service name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row11669912407"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p116614918408">podName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p3166179144014">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p10166149144013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p21662914013">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p121668911403">Container pod name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row185152511417"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p105192514416">pathFile</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p45152544111">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p165132594115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p105142519417">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p18516254410">Log file name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row1096927144620"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p1097011714611">hostIP</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p297007154618">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p1197016714468">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p197016711464">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p139708714613">IP address of the VM where logs are located.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row142102345416"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p9422162312547">keyWord</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p1542262318548">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p6422102319542">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p98063212572">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><ol id="aom_04_1034__ol105389351285"><li id="aom_04_1034__li1538335152819">Enter a keyword between two adjacent delimiters for exact search.</li><li id="aom_04_1034__li65386352284">Enter a keyword for fuzzy search. Example: RROR, ERRO?, *ROR*, ERR*, or ER*OR.</li><li id="aom_04_1034__li8538435112819">Enter a phrase for exact search. Example: Start to refresh alm Statistic.</li><li id="aom_04_1034__li45381535152817">Enter contents containing AND (&&) or OR (||) for search. Example: query&&logs or query||logs.</li></ol>
|
|
<div class="note" id="aom_04_1034__note129391956144510"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="aom_04_1034__p189411013460">Default delimiters:</p>
|
|
<p id="aom_04_1034__p1289416014612">, '";=()[]{}@&<>/:\n\t\r</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row12146155617572"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p18146356195711">startTime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p314616560575">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p4146656135710">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p1414616569570">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p18146175665710">Start time of the query (UTC, in ms).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row143411728205920"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p1334162835913">endTime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p63411828185915">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p103411028205920">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p20341122855910">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p193411828125917">End time of the query (UTC, in ms).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row21791050175919"><td class="cellrowborder" valign="top" width="19.79%" headers="mcps1.3.3.4.2.6.1.1 "><p id="aom_04_1034__p11801506593">hideSyslog</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.5%" headers="mcps1.3.3.4.2.6.1.2 "><p id="aom_04_1034__p101801250195918">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.3.4.2.6.1.3 "><p id="aom_04_1034__p15180165035912">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.4 "><p id="aom_04_1034__p3180175011598">0 or 1</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.6.1.5 "><p id="aom_04_1034__p1418095055916">Whether to hide the system log (icagent\kubectl) during the query. 0 (default): Hide. 1: Not hide.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="aom_04_1034__p13501584343"><strong id="aom_04_1034__b1024195414120">Request headers</strong></p>
|
|
<p class="msonormal" id="aom_04_1034__p19248500157"><a href="#aom_04_1034__table17428844137">Table 3</a> describes the request headers.</p>
|
|
|
|
<div class="tablenoborder"><a name="aom_04_1034__table17428844137"></a><a name="table17428844137"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table17428844137" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request headers</caption><thead align="left"><tr id="aom_04_1034__row1542824171318"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.4.1.1"><p id="aom_04_1034__p18428241134">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.4.1.2"><p id="aom_04_1034__p1142819412139">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.3.7.2.4.1.3"><p id="aom_04_1034__p1742816441311">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row1942834191319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.4.1.1 "><p id="aom_04_1034__p166451516193818">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.4.1.2 "><p id="aom_04_1034__p464591643812">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.7.2.4.1.3 "><p id="aom_04_1034__p156451416173813">User token obtained from IAM.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row2428124181313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.4.1.1 "><p id="aom_04_1034__p464641619384">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.4.1.2 "><p id="aom_04_1034__p464631663813">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.3.7.2.4.1.3 "><p id="aom_04_1034__p1464691683810">Content type, which is <strong id="aom_04_1034__b678902427105338">application/json</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p class="msonormal" id="aom_04_1034__p30356242"><strong id="aom_04_1034__b4770728">Example request</strong></p>
|
|
<div class="p" id="aom_04_1034__p116811412125913">Example 1 (Query application logs in a cluster)<pre class="screen" id="aom_04_1034__screen15945484">/v2/{project_id}/als/action?type=querylogs
|
|
{
|
|
"category": "app_log",
|
|
"searchKey":
|
|
{
|
|
"clusterId": "c693fa7c-54cd-11e8-8055-0255ac101e40",
|
|
"nameSpace" : "",
|
|
"appName" : "",
|
|
"podName" : "",
|
|
"pathFile" : "",
|
|
"hostIP" : ""
|
|
},
|
|
"keyWord": "",
|
|
"startTime": 1538970064983,
|
|
"endTime": 1538970364983,
|
|
"hideSyslog": 0
|
|
}</pre>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="aom_04_1034__section24870414"><h4 class="sectiontitle">Response</h4><p class="msonormal" id="aom_04_1034__p16515789"><strong id="aom_04_1034__b14424376">Response parameters</strong></p>
|
|
<p class="msonormal" id="aom_04_1034__p62710527"><a href="#aom_04_1034__table6943113915268">Table 4</a> describes the response parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="aom_04_1034__table6943113915268"></a><a name="table6943113915268"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table6943113915268" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameters</caption><thead align="left"><tr id="aom_04_1034__row49770795"><th align="left" class="cellrowborder" valign="top" width="29.592959295929592%" id="mcps1.3.4.4.2.4.1.1"><p id="aom_04_1034__p4902603">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.733673367336735%" id="mcps1.3.4.4.2.4.1.2"><p id="aom_04_1034__p61566543">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.673367336733676%" id="mcps1.3.4.4.2.4.1.3"><p id="aom_04_1034__p20834080">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row9838885"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p58752198">errorCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p61307629">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p66970879">Response code. Example: AOM.0200, which indicates a success response.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row65867005"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p33627165">errorMessage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p39445854">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p40997607">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row33434151"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p23811696">result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p49699222">JSON object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p66214016">Metadata, including total number of returned records and results.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row59055234"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p1868192261714">total</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p41922002">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p40239031">Number of returned records.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row26606965"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p94031733161720">data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p18148059">JSON array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p60706693">Data array.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row9489328"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p102531113131816">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p49566655">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p55476136">Log type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row29523177"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p036982911812">loghash</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p25382805">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p42741350">Hash value of the log source.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row49127838"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p19931961">clusterId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p3876157">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p45533264">Cloud Container Engine (CCE) cluster ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row7146200"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p41971336">clusterName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p44235036">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p26268157">CCE cluster name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row35086821"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p23460259">nameSpace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p21232866">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p42140618">CCE cluster namespace.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row43721244"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p51759891">podName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p31801671">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p20222939151913">CCE container pod name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row2637155491913"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p1663795411911">appName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p663765441911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p10637125431912">Service name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row1249815952012"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p124983917202">serviceID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p9499897203">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p649979172012">Service ID of an AOM resource.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row1646518116214"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p5465141111216">containerName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p184651711192114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p8465511162119">CCE container name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row113421594213"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p734411593219">logContent</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p534455915212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p034413598212">Source log data.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row916419122214"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p11815195224">pathFile</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p16182193226">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p418171920224">Absolute path of a log file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row158667496226"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p19866154918222">hostIP</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p1486614499225">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p178661249182220">IP address of the VM where log files are located.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row16411317122312"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p134111017172314">hostId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p2411111762319">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p94111717162318">ID of a host in a cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row1263965792416"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p156391557202416">hostName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p20639125732412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p18639457142419">Name of the VM where log files are located.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row17800192011259"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p28001720152518">collectTime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p17800182062512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p138001202253">Log collection time (UTC time, in ms).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row17446546142511"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p17446154622513">lineNum</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p20446546192511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p8446114619254">Sequence number of a log line.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row14784155817263"><td class="cellrowborder" valign="top" width="29.592959295929592%" headers="mcps1.3.4.4.2.4.1.1 "><p id="aom_04_1034__p2784135811263">logContentSize</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.733673367336735%" headers="mcps1.3.4.4.2.4.1.2 "><p id="aom_04_1034__p12784458192619">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.673367336733676%" headers="mcps1.3.4.4.2.4.1.3 "><p id="aom_04_1034__p97841585265">Size of a single-line log.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p class="msonormal" id="aom_04_1034__p30860444"><strong id="aom_04_1034__b9308548">Example response</strong></p>
|
|
<pre class="screen" id="aom_04_1034__screen5755517165818">{
|
|
"errorCode":"AOM.0200",
|
|
"errorMessage":"Query data success",
|
|
"result":"{\"total\":5000,
|
|
\"data\":[{\"category\":\"app\",
|
|
\"loghash\":\"496b2070d40a83c17f2625401af8a50aadc316f216771fbe38b94d31feaa30eb\",
|
|
\"clusterId\":\"c693fa7c-54cd-11e8-8055-0255ac101e40\",
|
|
\"clusterName\":\"aomdemo\",
|
|
\"nameSpace\":\"default\",
|
|
\"podName\":\"als0712-7c4875f884-q5wwp\",
|
|
\"appName\":\"als0712\",
|
|
\"serviceID\":\"\",
|
|
\"containerName\":\"container-0\",
|
|
\"logContent\":\"warn:2018/10/09 06:57:01 helloworld.go:108: the main process is running now.\\n\",
|
|
\"pathFile\":\"/var/paas/sys/log/apm/debug_erro.trace\",
|
|
\"hostIP\":\"192.168.0.133\",
|
|
\"hostId\":\"c11c7211-5a0b-4925-bef4-d078661299b0\",
|
|
\"hostName\":\"192.168.0.133\",
|
|
\"collectTime\":\"1539068233983\",
|
|
\"lineNum\":\"15390682339830002\",
|
|
\"logContentSize\":\"77\"
|
|
}]
|
|
}"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="aom_04_1034__section22507142"><h4 class="sectiontitle">Status Code</h4><ul id="aom_04_1034__ul64578178"><li id="aom_04_1034__li44332693">Success response<p id="aom_04_1034__p63449920"><a name="aom_04_1034__li44332693"></a><a name="li44332693"></a><a href="#aom_04_1034__table540495445711">Table 5</a> describes the status code.</p>
|
|
|
|
<div class="tablenoborder"><a name="aom_04_1034__table540495445711"></a><a name="table540495445711"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table540495445711" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Status code</caption><thead align="left"><tr id="aom_04_1034__row4405115425717"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.5.2.1.2.2.4.1.1"><p id="aom_04_1034__p1740510549573">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="aom_04_1034__p18261589486">Message</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="aom_04_1034__p0405054175716">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row1140575475719"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="aom_04_1034__p17405135416571">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="aom_04_1034__p115208125323">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="aom_04_1034__p19579466497">The request has succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="aom_04_1034__ul14309333"><li id="aom_04_1034__li61675141">Error response<p id="aom_04_1034__p18205362"><a name="aom_04_1034__li61675141"></a><a name="li61675141"></a><a href="#aom_04_1034__table939134985614">Table 6</a> describes the status codes. For more information, see <a href="aom_04_0018.html">Status Codes</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="aom_04_1034__table939134985614"></a><a name="table939134985614"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table939134985614" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Status codes</caption><thead align="left"><tr id="aom_04_1034__row44141239"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.5.3.1.2.2.4.1.1"><p id="aom_04_1034__p18670586">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.5.3.1.2.2.4.1.2"><p id="aom_04_1034__p47075245288">Message</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.5.3.1.2.2.4.1.3"><p id="aom_04_1034__p35922469">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row24038881"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.1 "><p id="aom_04_1034__p992341">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.2 "><p id="aom_04_1034__p126271018112520">Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.3.1.2.2.4.1.3 "><p id="aom_04_1034__p2431727192515">The request is invalid. </p>
|
|
<p id="aom_04_1034__p34352717254">The client should not repeat the request without modifications.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row52328576"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.1 "><p id="aom_04_1034__p10756297">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.2 "><p id="aom_04_1034__p195759466253">Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.3.1.2.2.4.1.3 "><p id="aom_04_1034__p1371123810254">The authorization information provided by the client is incorrect or invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row56712700"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.1 "><p id="aom_04_1034__p30325987">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.2 "><p id="aom_04_1034__p15185125614254">Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.3.1.2.2.4.1.3 "><p id="aom_04_1034__p10447844263">The request is rejected.</p>
|
|
<p id="aom_04_1034__p20447941267">The server has received the request and understood it, but the server is refusing to respond to it. The client should not repeat the request without modifications. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row28828553"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.1 "><p id="aom_04_1034__p53411432">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.2 "><p id="aom_04_1034__p2945812153211">Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.3.1.2.2.4.1.3 "><p id="aom_04_1034__p1815584516269">The server is able to receive the request but unable to understand the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row13793060"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.1 "><p id="aom_04_1034__p43496037">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.5.3.1.2.2.4.1.2 "><p id="aom_04_1034__p205675500263">Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.3.1.2.2.4.1.3 "><p id="aom_04_1034__p4668115672614">The requested service is invalid.</p>
|
|
<p id="aom_04_1034__p14669256182611">The client should not repeat the request without modifications.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="aom_04_1034__section1031718191744"><h4 class="sectiontitle">Error Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="aom_04_1034__table19843152719510" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Error codes</caption><thead align="left"><tr id="aom_04_1034__row88441927656"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.6.2.2.4.1.1"><p id="aom_04_1034__p1664218538510">Error Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.6.2.2.4.1.2"><p id="aom_04_1034__p146421953155">Message</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.6.2.2.4.1.3"><p id="aom_04_1034__p18642145310513">Solution</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="aom_04_1034__row68442272514"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.1 "><p id="aom_04_1034__p498911258303">AOM.0200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.2 "><p id="aom_04_1034__p20999115954">Data queried successfully.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.3 "><p id="aom_04_1034__p13238161362">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row01291251413"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.1 "><p id="aom_04_1034__p512161212147">AOM.0201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.2 "><p id="aom_04_1034__p1199912151512">{XXX} is invalid.</p>
|
|
<div class="note" id="aom_04_1034__note199981519519"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="aom_04_1034__p89991415659">XXX indicates a specific parameter.</p>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.3 "><p id="aom_04_1034__p41211127142">Check whether the parameter meets requirements.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="aom_04_1034__row1384414271159"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.1 "><p id="aom_04_1034__p369052123211">AOM.0203</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.2 "><p id="aom_04_1034__p699912154513">No logs found.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.2.4.1.3 "><p id="aom_04_1034__p02441616618">Check whether the parameter meets requirements.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="aom_04_1047.html">Log APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|