mivano / azure-cost-cli

CLI tool to perform cost analysis on your Azure subscription

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Report "dailyCost" by period.

aloysioc opened this issue · comments

Good afternoon.
I'm using your product "azure-cost-cli" and I'm really enjoying it.
However, I'm trying to extract data from last month through "dailyCosts" command and I can't get results.
It is only showing data for the current month.
I'm using the following command: azure-cost dailyCosts -s xxxx-xxxx-xxxx-xxxx --dimension MeterCategory --from 2023-12-01 --to 2023-12-31 -o csv > dailycost1.csv.
Can you help me?

Thanks in advance.

Thanks for opening your first issue! Reports like these help improve the project!

Thanks for using the tool!

make sure to include -t Custom as a parameter so it knows to use the from and to settings

Good morning.
Yeah, worked!
thank you very much, @mivano.

Excellent! Enjoy the tool.