part_000X.csv.gz to its own Object
Storage. The Object Store integration reads any of them: the rows are already
FOCUS when they arrive, so nothing is normalized - the exporter reads, repairs
the deviations it knows about, and pushes.
This integration runs in your environment via the
exporter - your storage credentials never
reach CostGraph, and only the finished FOCUS records do.
Where the bill can live
.csv, .csv.gz and .parquet are all read. Credentials are read-only by
intent: the exporter never writes to your bucket, so give it a key that cannot
either.
Which files make up a period
OBJECTSTORE_LAYOUT answers one question: given all the files in the bucket,
which ones belong to a billing period?
Prefer
manifest where the export publishes one: nothing is guessed from file
names, and a run that lands while the exporter is reading cannot be read
half-written.
Import only some accounts or projects
A bill often covers more than one tenant’s spend. STACKIT’s FOCUS report covers every project in the organization, and an AWS export can cover every account. To import part of the bill, setOBJECTSTORE_SUB_ACCOUNT_IDS to the values in
the bill’s SubAccountId column that belong to this connection, separated by
commas. The exporter skips every other row:
- Charges the bill doesn’t tie to an account or project, such as some fees, credits or tax, are skipped by every filtered connection, so the tenants’ totals can add up to less than the invoice.
- If the bill has charges for other accounts or projects but none for the ones
you listed, the run fails with an error naming them and leaves the costs
already imported in place. Check the IDs against the
SubAccountIdcolumn. - Every connection reads the whole file with the key you give it. The filter decides what CostGraph imports. It doesn’t limit what that key can read.
Connect
- Open Settings -> Integrations and choose Object Store. Pick the
tenant the charges belong to and copy the connection id (
fpc_...). - Create an API key with the
focus:writescope - anddeployment:registerif you will run the exporter’s container. - Run the exporter where the bill is reachable:
--month the current month is read, which is what a schedule
wants; a month can be pushed again at any time - a push replaces the window it
covers rather than doubling it.