REST API Method: GET /rest/locallogfile/{identifier}
Page Tree |
---|
root | Resource - locallogfile |
---|
|
Lists the local log files present on the Sonus SBC.
URL:
https://134.56.227.163/rest/locallogfile/{identifier}
HTTP Method
GET
Requires Authentication:
true
Parameters
Name | Required | Values | Description |
---|
filter | No | runtime | The type of filtered information in the response. If no filters are specified, all get applied. |
---|
Code Block |
---|
|
curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt
-i https://134.56.227.163/rest/locallogfile/1 |
Response:
Code Block |
---|
|
<?xml version="1.0"?>
<root>
<status>
<http_code>200</http_code>
</status>
<locallogfile id="webui.log" href="https://10.253.6.160/rest/locallogfile/webui.log">
<logFileName>webui.log</logFileName>
<logFirstMessageTime>2012-04-24 20:15:45</logFirstMessageTime>
<logLastMessageTime>Current File</logLastMessageTime>
<logFileSize>18180 bytes</logFileSize>
</locallogfile>
</root> |