{"type":"api","title":"List V Manage Server Log Last N Lines","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","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"}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/util/logfile/appserver/lastnlines"}}