scottyp
scottyp

Reputation: 13

Export Bluemix Usage

We are using Bluemix Cloud Foundry applications and need to capture billing information for reporting purposes. Is anyone aware of how you can export the billing usage from Bluemix into a .csv or any other format?

Thanks.

Upvotes: 0

Views: 114

Answers (1)

data_henrik
data_henrik

Reputation: 17118

I haven't it used that much, but you could use the bluemix / bx command with the billing option to retrieve usage and billing information per account or org. You can export it as JSON file.

The following would retrieve the usage for the org "[email protected]" for the month of April 2017 in JSON format:

bx billing org-usage [email protected] -d 2017-04 --json

Upvotes: 3

Related Questions