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

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

Also, what's purpose of the join here?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...