Admin Log(s)

Comments

Permalink

GET Admin Logs Setting(s)

GET

Info of Admin Logs page from the Admin > Status > Logfile

rest/system/log

Success (200 OK)

Example Request:

curl -u username:password GET -D - http://192.168.1.194:8080/rest/system/log
[ { level: 5, ts: 1501603122.979, group: "PROV", msg: "Loading file y000000000000.cfg from UA "yealink SIP-T28P 2.70.0.150 00:15:65:3b:14:86" from the tftp folder", att: "" }, { level: 8, ts: 1501603123.386, group: "PROV", msg: "HTTP: Received request for file 0015653b1486.cfg from 192.168.34.12", att: "" }, { level: 8, ts: 1501603123.386, group: "PROV", msg: "PnP: Extracted model t28p from User-Agent yealink SIP-T28P 2.70.0.150 00:15:65:3b:14:86", att: "" }, { level: 8, ts: 1501603123.386, group: "PROV", msg: "PnP: Extracted MAC 0015653B1486 for file 0015653b1486.cfg", att: "" }, { level: 8, ts: 1501603123.386, group: "PROV", msg: "Provisioning file 0015653b1486.cfg looking for MAC 0015653B1486", att: "" }, { level: 7, ts: 1501603123.387, group: "PROV", msg: "HTTP: No Auth info in the request: Challenge 192.168.34.12", att: "" }, { level: 8, ts: 1501603123.693, group: "PROV", msg: "HTTP: Received request for file 0015653b1486.cfg from 192.168.34.12", att: "" }, { level: 8, ts: 1501603123.694, group: "PROV", msg: "PnP: Extracted model t28p from User-Agent yealink SIP-T28P 2.70.0.150 00:15:65:3b:14:86", att: "" }, { level: 8, ts: 1501603123.694, group: "PROV", msg: "PnP: Extracted MAC 0015653B1486 for file 0015653b1486.cfg", att: "" }, { level: 8, ts: 1501603123.694, group: "PROV", msg: "Provisioning file 0015653b1486.cfg looking for MAC 0015653B1486", att: "" }, { level: 7, ts: 1501603123.694, group: "PROV", msg: "HTTP: Invalid Auth from unknown user: 400 Check Authorization to 192.168.34.12", att: "" }, { level: 9, ts: 1501608748.945, group: "PROV", msg: "Unknown device 60:F8:1D:C9:A3:40", att: "" } ]
Response Code Description
Success 200 OK
Invalid ID supplied 400 Only authenticated Admins can access the data
Permission Denied 403 Forbidden
Not Found 404 The id of the User was not found or there are errors in the URL.
Name
Admin Log(s)

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.