
AWS Systems Manager
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.

Connect AWS Systems Manager to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Sync fleet inventory, compliance, associations, documents, patching, sessions, OpsItems, Run Command history, and Automation executions from one AWS region.
Grant these IAM permissions for the tables you select:
ssm:DescribeInstanceInformation, ssm:GetInventory, ssm:GetInventorySchema, ssm:ListInventoryEntries,
ssm:ListResourceComplianceSummaries, ssm:ListComplianceItems, ssm:ListAssociations,
ssm:DescribeAssociationExecutions, ssm:DescribeAssociationExecutionTargets, ssm:ListDocuments,
ssm:DescribePatchBaselines, ssm:DescribeInstancePatchStates, ssm:DescribeInstancePatches,
ssm:DescribeSessions, ssm:DescribeOpsItems, ssm:ListOpsItemEvents, ssm:ListCommands,
ssm:ListCommandInvocations, ssm:DescribeAutomationExecutions, and ssm:DescribeAutomationStepExecutions.
Connect with an IAM role, or enter an access key ID and secret access key. Include a session token for temporary credentials. All tables use full refresh. AWS keeps Run Command and Automation history for 30 days, so those tables hold only the past 30 days. Create a separate source for each region.
Configuration
| Option | Description |
|---|---|
AuthenticationType: select Required: True | With an IAM role, PostHog reads with short-lived credentials and stores no key. Create a role connection with your role's ARN, then grant the role the permissions listed above. |
AWS regionType: text Required: True |
Linking AWS Systems Manager to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select AWS Systems Manager
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
managed_instances | Managed nodes with agent, platform, and connection details. Stopped and terminated nodes are excluded. | Full refresh | — | — |
inventory | Collected AWS:InstanceInformation inventory, including stopped and terminated nodes. | Full refresh | — | — |
resource_compliance_summaries | Compliance status and severity counts for each resource and compliance type. | Full refresh | — | — |
associations | State Manager associations with schedules, targets, and execution status. | Full refresh | — | — |
patch_baselines | Patch baseline identities, operating systems, and default baseline flags. | Full refresh | — | — |
documents | SSM documents owned by you, shared with you, or provided by AWS, with types, versions, and platforms. | Full refresh | — | — |
compliance_items | Individual patch, association, and custom compliance results behind each resource compliance summary. | Full refresh | — | — |
inventory_entries | Inventory entries of every collected type except AWS:InstanceInformation, such as applications and services, for each node. | Full refresh | — | — |
association_executions | Execution history of each State Manager association, with status and resource counts by status. | Full refresh | — | — |
association_execution_targets | Status of each resource targeted by an association execution. | Full refresh | — | — |
instance_patch_states | Patch counts by state, the patch baseline, and the last patch operation for each managed node. | Full refresh | — | — |
instance_patches | Installed, missing, and failed patches on each managed node, with classification and severity. | Full refresh | — | — |
sessions | Active Session Manager sessions and sessions that ended in the past 30 days. | Full refresh | — | — |
ops_items | OpsCenter OpsItems with status, priority, severity, and planned and actual times. | Full refresh | — | — |
ops_item_events | Events that changed OpsItems, with the event source, detail, and creation time. | Full refresh | — | — |
commands | Run Command requests from the past 30 days with the document, targets, status, and counts of targeted, completed, and failed nodes. The parameters include the script text of shell commands, so this table is off by default. | Full refresh | — | — |
command_invocations | Run Command results from the past 30 days for each target node, with status and the start, end, response code, and output of each plugin. The output can include values that scripts print, so this table is off by default. | Full refresh | — | — |
automation_executions | Automation runbook executions from the past 30 days with status, start and end times, and the failure message. | Full refresh | — | — |
automation_step_executions | Steps of each Automation execution from the past 30 days with action, status, start and end times, and failure details. Each sync sends one or more requests for each execution, so this table is off by default. | Full refresh | — | — |





