Hi,
We are having a Splunk Enterprise app and we would like to know that, is there any way we can write a query which shows a graph for used storage per month ?
The idea behind that is, whether we move to Splunk Cloud by seeing the statistics provide by the above query.
Thanks
I think I found the query that I need.
You have to run this in Splunk monitoring console search (Ex. http://your-splunk-server:port/en-GB/app/splunk_monitoring_console/search) not the default search (Ex. http://your-splunk-server:port/en-GB/app/search/search )
index=_introspection host=localhost.localdomain sourcetype=splunk_disk_objects component=Indexes
| `dmc_exclude_indexes`
| eval data.total_size = round('data.total_size' / 1024, 2)
| `dmc_timechart_for_disk_usage` latest(data.total_size) as total by data.name
Which gives output like below which is I needed.
I think I found the query that I need.
You have to run this in Splunk monitoring console search (Ex. http://your-splunk-server:port/en-GB/app/splunk_monitoring_console/search) not the default search (Ex. http://your-splunk-server:port/en-GB/app/search/search )
index=_introspection host=localhost.localdomain sourcetype=splunk_disk_objects component=Indexes
| `dmc_exclude_indexes`
| eval data.total_size = round('data.total_size' / 1024, 2)
| `dmc_timechart_for_disk_usage` latest(data.total_size) as total by data.name
Which gives output like below which is I needed.
There are multiple ways. the simplest one is thru DMC - the distributed management console.
May we know if you checked the DMC license usage reports please.
There are lot of SPL search queries available to get detailed reports by indexer, by pool, by date, by host, etc. Maybe you can first check the DMC and update more info about your requirements. thanks.
(i have given around 300 karma points so far,.. maybe you also give karma points if a post helped you, thx)
@inventsekar we are using Splunk version 8.0.1. As I read, DMC now called as Monitoring Console
In that case we are using DMC or the Monitoring Console. But when I go inside that I don't have any data for Disk Usage
Under the License Usage I can see the Split option that you have mentioned. But that is not my current requirement.
What I need is to get an understanding how much disk space (physical hard drive) has been filled per month for the last year because of the data that we are feeding to the Splunk.
Thanks