{"_id":"588f722bbcace50f0052b9f9","project":"565f5fa26bafd40d0030a064","version":{"_id":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","__v":1,"createdAt":"2017-01-30T17:04:43.410Z","releaseDate":"2017-01-30T17:04:43.410Z","categories":["588f722bbcace50f0052b9e2","588f722bbcace50f0052b9e3","588f722bbcace50f0052b9e4","588f722bbcace50f0052b9e5","588f722bbcace50f0052b9e6","588f722bbcace50f0052b9e7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"5.3.0","version":"5.3.0"},"__v":0,"parentDoc":null,"category":{"_id":"588f722bbcace50f0052b9e3","version":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-09T21:22:52.427Z","from_sync":false,"order":1,"slug":"user-guide","title":"Reference"},"user":"565f5f29de5dc50d00acfe9f","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-16T17:53:53.858Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":12,"body":"Logs are a pretty vital aspect of your API and Proxy Endpoints. You can use them to see who is hitting your apis, how long requests are taking, and what types of errors might be impacting your users. They are also useful as a debugging tool while you are building your APIs.\n\nYou can search your logs for keywords, limit the max number of lines in your results, and filter by date range.\n\nYour logs are also streamable. This lets you monitor your logs in realtime without having to refresh the page. You enable streaming on your log views by clicking the streaming button. By default it reads 'Not streaming' with an X next to it.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/76imw5QtyreRCQU1wuYg_streaming-button.png\",\n        \"streaming-button.png\",\n        \"181\",\n        \"53\",\n        \"#fafafa\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nOnce clicked it should read 'Streaming' with a check mark next to it. To go back to non-streaming logs, simply click the button again.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/I0X3Jt4Sjw4DSaCheoA5_streaming-button-on.png\",\n        \"streaming-button-on.png\",\n        \"147\",\n        \"49\",\n        \"#619062\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nLogs are accessible at the API level and the Proxy Endpoint level. If you want to see all activity taking place under and API, view your logs by clicking the 'LOGS' link on the left hand side of your dashboard.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/Vc54QQSoUDdomaanzAVJ_api-logs.png\",\n        \"api-logs.png\",\n        \"1449\",\n        \"916\",\n        \"#5a85b8\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nIf you want to just see logs for a particular Proxy Endpoint, you can navigate to that endpoint and click the 'Log' icon at the bottom of the Proxy workflow.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/2PpHzZbhRPGi7AtDo8TI_proxy-logs.png\",\n        \"proxy-logs.png\",\n        \"1449\",\n        \"916\",\n        \"#5d86b5\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"logs","type":"basic","title":"Logs"}
Logs are a pretty vital aspect of your API and Proxy Endpoints. You can use them to see who is hitting your apis, how long requests are taking, and what types of errors might be impacting your users. They are also useful as a debugging tool while you are building your APIs. You can search your logs for keywords, limit the max number of lines in your results, and filter by date range. Your logs are also streamable. This lets you monitor your logs in realtime without having to refresh the page. You enable streaming on your log views by clicking the streaming button. By default it reads 'Not streaming' with an X next to it. [block:image] { "images": [ { "image": [ "https://files.readme.io/76imw5QtyreRCQU1wuYg_streaming-button.png", "streaming-button.png", "181", "53", "#fafafa", "" ] } ] } [/block] Once clicked it should read 'Streaming' with a check mark next to it. To go back to non-streaming logs, simply click the button again. [block:image] { "images": [ { "image": [ "https://files.readme.io/I0X3Jt4Sjw4DSaCheoA5_streaming-button-on.png", "streaming-button-on.png", "147", "49", "#619062", "" ] } ] } [/block] Logs are accessible at the API level and the Proxy Endpoint level. If you want to see all activity taking place under and API, view your logs by clicking the 'LOGS' link on the left hand side of your dashboard. [block:image] { "images": [ { "image": [ "https://files.readme.io/Vc54QQSoUDdomaanzAVJ_api-logs.png", "api-logs.png", "1449", "916", "#5a85b8", "" ] } ] } [/block] If you want to just see logs for a particular Proxy Endpoint, you can navigate to that endpoint and click the 'Log' icon at the bottom of the Proxy workflow. [block:image] { "images": [ { "image": [ "https://files.readme.io/2PpHzZbhRPGi7AtDo8TI_proxy-logs.png", "proxy-logs.png", "1449", "916", "#5d86b5", "" ] } ] } [/block]