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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...