Dashboards & Visualizations

search to show value for each day in a month

mcbradford
Contributor

I use the following to show me what my estimated license usage is at the time the search is ran.

I would like to create a chart that looks at the past X days and show me what I used.

index=_internal source=*license_usage.log earliest=@d+30m| eval GB=b/1024/1024/1024 | stats sum(GB) by pool | eval used='sum(GB)' | eval GB_Used_Today=round(used, 0) | fields GB_Used_Today

Tags (1)
0 Karma

jsb22
Path Finder

Before you go creating your own search for license usage, have you checked the available apps out there for license usage?
http://splunk-base.splunk.com/apps/search/?q=license+usage

Please mark as answered if your question has been answered. Thanks!

0 Karma

mcbradford
Contributor

Yes, the reporting is not accurate.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...