{"type":"api","title":"List V Manage Server Log Last N Lines","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Utility - Logging"],"description":"List last N lines of log file. This API accepts content type as text/plain. It is mandatory to provide response content type. Any other content type would result in empty response.","operationId":"listVManageServerLogLastNLines","parameters":[{"name":"lines","in":"query","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"object"},"example":"14-Mar-2024 00:00:00,001 UTC INFO [] [vm12] [ClassName] (ThreadName) || test log message\n14-Mar-2024 00:00:00,002 UTC INFO [] [vm12] [ClassName] (ThreadName) || test log message 2\n14-Mar-2024 00:00:00,003 UTC INFO [] [vm12] [ClassName] (ThreadName) || test log message 3\n"}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"listVManageServerLogLastNLines","method":"get","path":"/util/logfile/appserver/lastnlines"}}