cloud billing get-costs-charts cli command
Auth required
elastic cloud billing get-costs-charts \
--organization-id <organization-id> \
[options]
Get charts for the organization. Currently unavailable in self-hosted ECE.
--organization-idstringrequired- Identifier for the organization
--fromstring- A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.
--tostring- A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.
--bucketing-strategystring- The desired bucketing strategy for the charts. Defaults to
daily.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON