> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: View Logs using an External Monitoring Tool ## Article: Connecting Wix Logs to a Monitoring Tool Advanced.md ## Article Link: https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-an-external-monitoring-tool.md ## Article Content: # View Logs using an External Logging Tool You can view [logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-logs.md) using an external monitoring tool of your choice. This is the general lifecycle of logs when connected to an external monitoring tool:
Wix logs lifecycle
1. Your site generates implicit and explicit logs in JSON format and sends them to the endpoint you provided. 2. The endpoint converts the JSON objects into a format that the external monitoring tool can parse. 3. The converted JSON objects are sent to the monitoring tool for analysis. ## Step 1: Create an endpoint You can create an endpoint by implementing your own or by using one provided by an external monitoring tool.
**Important:** - Your site sends logs in the form of JSON objects. Make sure to configure the endpoint to handle JSON objects so that the external monitoring tool can parse them correctly. - Your endpoint must be configured to accept the POST request method.
### Use an endpoint by an existing monitoring service You can use an endpoint provided by an existing monitoring service, such as [logz.io](https://logz.io/) or [Loggly](https://www.loggly.com/). Refer to the service's documentation to learn how to create an endpoint. ### Implement your own endpoint Alternatively, you can implement your own endpoint and integrate it with a monitoring tool of your choice. > **Note**: You can create an endpoint for logs on a Wix site using the [HTTP functions API](https://dev.wix.com/docs/velo/api-reference/wix-http-functions/introduction.md), but you can't do so on the same site whose logs you want to view. Your endpoint must include code to convert [log objects](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/log-object-structure.md) into a format that can be parsed by the external monitoring tool. For your convenience, Wix offers an open-source example using [Solarwinds Loggly on Google App Engine](https://github.com/wix/corvid-loggly-telemetry-adapter). The code is specific to this tool, but you can adapt it for the monitoring tool of your choice. ## Step 2: Set your endpoint Once you have an endpoint, set it in the site dashboard: 1. In the site dashboard, click **Developer Tools** > **Logging Tools**. 2. In the **Connect an external logging tool** section, click **Next**. The Connect external logging tool page appears.
3. In the **Enter your endpoint URL** field, enter your endpoint URL and click **Connect**. Your site is now connected to the external monitoring tool. ## See also - [About logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-logs.md) - [View logs using Wix Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-wix-logs.md) - [View logs using Google Cloud Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-google-cloud-logs.md) - [Tutorial | Generate logs to debug your site](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/generate-logs-to-debug-your-site.md) - [/log object structure](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/log-object-structure.md)