Supported Data Types
📘 Logs | 📈 Metrics | 🚦 TracesConfiguration
| Field | Type | Default | Required | Description |
|---|---|---|---|---|
| Name | String | none | true | Unique identifier within Sawmills. |
| Region | String | ”us-east-1” | true | AWS region. |
| S3 Bucket | String | none | true | S3 bucket name. |
| Role ARN | String | none | false | The Role ARN to be assumed. |
| File Prefix | String | none | false | Prefix for the S3 key (root directory inside the bucket). |
| Marshaler | String | otlp_json | false | Marshaler used to produce output data (see Marshaler options below). |
Advanced Options
| Field | Type | Default | Required | Description |
|---|---|---|---|---|
| REST API Endpoint | String | None | false | Overrides the endpoint, instead of constructing it from region and s3_bucket. |
| S3 Force Path Style | Boolean | false | false | Set this to true to force the request to use path-style addressing. |
| Use SSL | Boolean | true | false | Set this to false to disable SSL when sending requests. |
| Compression | String | none | false | Should the file be compressed. |
Marshaler
The Marshaler determines the format of the data sent to AWS S3.- otlp_json (default): The OpenTelemetry Protocol format represented as JSON.
- otlp_proto: The OpenTelemetry Protocol format represented as Protocol Buffers. A single protobuf message is written into each object.
- sumo_ic: The Sumo Logic Installed Collector Archive format (supported only for logs).
- body: Exports the log body as a string (applies only for logs).
- datadog: Datadog rehydrate logs format represented as JSON.
- datadog_parquet: Datadog logs format represented as Parquet files.
Snowflake Table Schema for Datadog Parquet
When using thedatadog_parquet Marshaler, you can create a Snowflake table with the following schema:
AWS Credential Configuration
Sawmills collector is running on a Kubernetes cluster and uses helm charts. To provide AWS credentials, passextraEnvs in values.yaml as shown below: