Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 6 Next »

REST API Method: POST /rest/weberrorlogfile/{identifier}?action=download

This resource downloads given web error log file from the Sonus SBC. This is needed for troubleshooting.

URL:

https://134.56.227.163/rest/weberrorlogfile/{identifier}?action=download

HTTP Method

POST

Requires Authentication:

true

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

curl --cookie PHPSESSID=fp10532km8ghe781ocmi15hb27 --cacert /1kCAcert.pem --data -i https://134.56.227.163/rest/weberrorlogfile/lighttpd.error.log?action=download -o "test.lighttpd.err.log"

1929-12-15 23:44:32: (log.c.166) server started[16-Dec-1929 00:08:05] PHP Notice: Utilities::createTreeID2MOTypeMap: Returning the map (137 entries) in Unknown on line 0[16-Dec-1929 00:08:05] PHP Notice: Utilities::createTreeID2MOTypeMap: Returning the map (137 entries) in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Loading log config from /www/conf/log4cxx.property in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Configure logger in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: populateManifestMap: Attempting to populate manifest map. in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Loading log config from /www/conf/log4cxx.property in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Configure logger in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: populateManifestMap: Attempting to populate manifest map. in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: PHPExt:initSystemManifest: CHASSIS Type UX2000 in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: PHPExt:initSystemManifest: CHASSIS Type UX2000 in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: Card Type: 15 in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: DS1 Relay Capability is NOT AVAILABLE! in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: Card Type: 15 in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: DS1 Relay Capability is NOT AVAILABLE! in Unknown on line 0
[16-Dec-1929 00:08:10] platformUtil:[error]: Manifest not found in xcache, going to set it!
1929-12-15 23:44:51: (server.c.1396) [note] graceful shutdown started

Response:

curl --cookie PHPSESSID=fp10532km8ghe781ocmi15hb27 --cacert /1kCAcert.pem --data -i https://134.56.227.163/rest/weberrorlogfile/lighttpd.error.log?action=download -o "test.lighttpd.err.log"

1929-12-15 23:44:32: (log.c.166) server started[16-Dec-1929 00:08:05] PHP Notice: Utilities::createTreeID2MOTypeMap: Returning the map (137 entries) in Unknown on line 0[16-Dec-1929 00:08:05] PHP Notice: Utilities::createTreeID2MOTypeMap: Returning the map (137 entries) in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Loading log config from /www/conf/log4cxx.property in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Configure logger in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: populateManifestMap: Attempting to populate manifest map. in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Loading log config from /www/conf/log4cxx.property in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Warning: Configure logger in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: populateManifestMap: Attempting to populate manifest map. in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: PHPExt:initSystemManifest: CHASSIS Type UX2000 in Unknown on line 0
[16-Dec-1929 00:08:05] PHP Notice: PHPExt:initSystemManifest: CHASSIS Type UX2000 in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: Card Type: 15 in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: DS1 Relay Capability is NOT AVAILABLE! in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: Card Type: 15 in Unknown on line 0
[16-Dec-1929 00:08:06] PHP Notice: PHPExt:populateChassisSlotManifest: DS1 Relay Capability is NOT AVAILABLE! in Unknown on line 0
[16-Dec-1929 00:08:10] platformUtil:[error]: Manifest not found in xcache, going to set it!
1929-12-15 23:44:51: (server.c.1396) [note] graceful shutdown started

  • No labels