Applies to:
Summary
S3 export automations configured withLogs (traces) only export one row per trace containing aggregated summary data, not the individual child spans within each trace. This occurs because Logs (traces) runs a summary query that consolidates all spans into a single root span with aggregated metrics. To export all child spans, change the configuration to Logs (spans) or use a custom BTQL query for more granular control.
Resolution Steps
If you need all child spans in your export
Step 1: Navigate to data management settings
Go to Settings → Project → Data management.Step 2: Edit the S3 export automation
Click on your existing automation to edit it.Step 3: Change data export type
Under Data to export , selectLogs (spans) instead of Logs (traces).
Step 4: Save and verify
Click Save and wait for the next export interval to verify child spans are included.If you need both summary metrics and child spans
Step 1: Use a custom BTQL query
SelectCustom BTQL query as the data export type.
Step 2: Query both traces and spans
Create separate exports or use a query that includes the specific fields you need from spans.Understanding Export Types
Logs (traces)
Exports one row per trace with aggregated scores and metrics on the root span only. Use for high-level trace analysis. See summary spans documentation.Logs (spans)
Exports one row per span, including all child spans. Use for detailed debugging and span-level analysis.Custom query
Define exactly what data to export using SQL or BTQL for full control over output.Notes
- The S3 path cannot be changed after the automation is created.
- Each export interval can process up to 100,000 rows (traces or spans).
- Exported files are organized by export run date, not record creation date.