Overview
Formal can forward all activity logs to your SIEM, data lake, or observability platform. This enables centralized log management, long-term retention, compliance reporting, and integration with your existing security tools.Supported Platforms

- AWS S3
- Google Cloud Storage (GCS)
- Datadog
- Splunk
By default, Formal forwards all logs to your configured destination.
Setup
AWS S3
1
Set Up AWS Integration
First, configure an AWS Cloud Integration with:
- AllowS3Access:
true - S3BucketARN: Your S3 bucket ARN
2
Navigate to SIEM
Go to SIEM
3
Create Integration
Click Create Integration
4
Select AWS S3
Choose AWS S3 as your provider
5
Configure
- S3 Bucket Name: Your bucket name
- Cloud Integration: Select your AWS Cloud Integration
- Compression: the codec log objects are written with (see Compression)
Terraform
Google Cloud Storage
1
Set Up GCP Integration
First, configure a GCP Cloud Account with:
- allow_gcs_access:
true - gcs_buckets: the buckets Formal may write to (empty allows every bucket in the project)
2
Navigate to SIEM
Go to SIEM
3
Create Integration
Click Create Integration
4
Select Google Cloud Storage
Choose Google Cloud Storage as your provider
5
Configure
- GCS Bucket Name: your bucket name
- Cloud Account: select your GCP Cloud Account
- Compression: the codec log objects are written with (see Compression)
Terraform
Creating the GCP Cloud Account also requires the
terraform-formal-gcp module and an activation resource. See the GCP Integration guide for the full setup.Datadog
1
Get Datadog Credentials
From your Datadog account, retrieve:
- Application Key
- API Key
- Site (e.g.,
datadoghq.com,datadoghq.eu)
2
Navigate to SIEM
Go to SIEM
3
Create Integration
Click Create Integration
4
Select Datadog
Choose Datadog as your provider
5
Enter Credentials
- Application Key: Your Datadog Application Key
- API Key: Your Datadog API key
- Site: Your Datadog site
Terraform
Datadog Dashboard
Import this template JSON for a sample of some of the analyses you can do with the Datadog log integration.Splunk
1
Create Splunk HEC Token
In Splunk, create a new HTTP Event Collector (HEC) token
2
Navigate to SIEM
Go to SIEM
3
Create Integration
Click Create Integration
4
Select Splunk
Choose Splunk as your provider
5
Enter Configuration
- Access Token: Your HEC token
- Host: Your Splunk instance hostname
- Port: HEC port (usually 8088)
Terraform
Compression
Log objects written to AWS S3 and Google Cloud Storage can be sent as compressed files.
Compression applies per log object, and Formal currently writes one object per log line. Compression reduces stored bytes but not the number of objects.
Formal records the codec in the object name and leaves the
Content-Encoding metadata unset.Use Cases
Compliance and Auditing
Forward logs to long-term storage for compliance requirements:Real-Time Security Monitoring
Send logs to your SIEM for real-time threat detection:- Failed authentication attempts
- Policy violations
- Unusual query patterns
- Off-hours access
Data Lake Integration
Forward logs to your data lake for analytics:- User access patterns
- Query performance
- Policy effectiveness
- Resource utilization
Multi-Destination Forwarding
Send logs to multiple destinations:Next Steps
Cloud Accounts
Connect AWS or GCP for S3 and GCS log delivery
View Logs
Monitor logs in the Formal console