Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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

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

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

Response:

Code Block
languagehtml/xml
Put Code response here<?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>