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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...