You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

REST API Method: GET /rest/locallogfile/{identifier}

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
filterNoruntimeThe type of filtered information in the response. If no filters are specified, all get applied.

Usage Example: (about cURL | requires a session token)

curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt 
-i https://134.56.227.163/rest/locallogfile/1

Response:

<?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>
  • No labels