All Apps and Add-ons

aws billing won't narrow to previous month.

horizn
New Member

I am trying to narrow aws billing per environmenttype tag to previous month, but unfortunately it always display last year.

The command I am trying is:
sourcetype="aws:billing" | search EnvironmentType CurrencyCode=USD | stats sum(TotalCost) as TotalCost, first(CurrencyCode) as CurrencyCode by EnvironmentType | eval TotalCost=round(TotalCost,2)
Even if I manually change it to last month it always gives me all.

Tags (2)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...