> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Linking LogicMonitor as a source **Alpha release** This source is currently in **alpha**. The interface and available tables may change. ![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_9608fcca70) ![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_dark_a92b0e022d) Let AI connect your sources for you Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog. `npx @posthog/wizard warehouse` ![PostHog Wizard hedgehog](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png) ![](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png)Let AI connect your sources for you Connect your LogicMonitor account to sync alerts, devices, collectors, scheduled downtimes, and more into the PostHog data warehouse. ## Prerequisites You need a bearer token from your LogicMonitor portal: 1. In LogicMonitor, go to **Settings** > **Users & Roles** > **API Tokens** > **Bearer**. 2. Create a new bearer token. 3. Give the token's user view permission for the resources you want to sync: | Table | Required permission | | --- | --- | | `alerts` | Resources | | `devices` | Resources | | `device_groups` | Resources | | `collectors` | Collectors | | `sdts` | Dashboards | | `websites` | Websites | You only need to grant permissions for the tables you plan to sync. ## Adding a data source 1. Go to the [sources tab](https://app.posthog.com/data-management/sources) of the data pipeline section in PostHog. 2. Click **\+ New source** and then click **Link** next to LogicMonitor. 3. Enter your **Portal URL** – this must be an HTTPS URL and a direct subdomain of `logicmonitor.com` (for example `https://example.logicmonitor.com`). 4. Enter your **Bearer token**. 5. Click **Next**. 6. Select the tables you want to sync, set the sync frequency, then click **Import**. Once the syncs are complete, you can start using LogicMonitor data in PostHog. ## Available tables | Table | Description | Sync method | | --- | --- | --- | | `alerts` | Alerts for monitored resources, including active and cleared alerts within the account's retention period | Full refresh | | `devices` | Monitored device inventory and collector assignments | Full refresh | | `device_groups` | Groups that organize monitored devices | Full refresh | | `collectors` | Collectors, their availability, and the number of devices they monitor | Full refresh | | `sdts` | Scheduled downtime for resources and monitoring components | Full refresh | | `websites` | Website monitors and their alert settings | Full refresh | **Full refresh** tables reload all data on each sync. ## Sync limitations - All tables use full refresh. Alerts use full refresh because an incremental watermark would miss later acknowledgments and clear events on older alerts. - Inventory syncs exclude certain sensitive fields such as device properties, collector tokens, and collector configuration. - A sync fails if a one-second time window contains more than 10,000 alerts. Contact support if you need to export dense alert history. ## Configuration | Option | Type | Required | | --- | --- | --- | | `Portal URL` | text | Yes | | `Bearer token` | password | Yes | ## Supported tables | Table | Description | Sync method | Incremental field | Primary key | | --- | --- | --- | --- | --- | | `alerts` | Alerts for monitored resources, including active and cleared alerts within the account's retention period. | Full refresh | — | — | | `devices` | Monitored device inventory and collector assignments. | Full refresh | — | — | | `device_groups` | Groups that organize monitored devices. | Full refresh | — | — | | `collectors` | Collectors, their availability, and the number of devices they monitor. | Full refresh | — | — | | `sdts` | Scheduled downtime for resources and monitoring components. | Full refresh | — | — | | `websites` | Website monitors and their alert settings. | Full refresh | — | — | ### Still have questions? Ask PostHog AI ### Was this page useful? HelpfulCould be better