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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...