All Apps and Add-ons

Monthly data query does not give complete results

jacklobo
New Member

Using this query to get monthly data for 12 months gives these results -(Please see attached image) only the first and last rows of column "VolumeB" data are generated. Can anyone please help on what needs to be done to get data in all rows of column VolumeB".
Thanks in advance

index=_internal source=license_usage.log type="RolloverSummary" | bin _time span=12mon | timechart span=1mon sum(b) AS volumeB | join type=outer _time [search index=_internal source=license_usage.log type="RolloverSummary"] | foreach * [eval <>=round('<>'/1024/1024/1024, 3)]

0 Karma

somesoni2
Revered Legend

Lose the | bin _time... portion and try again.

Also, what's purpose of the join here?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

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 ...