Monitoring Splunk

How to calculate disk space for Data Model Acceleration?

payal23
Path Finder

How to calculate disk space by all indexers used by the data model acceleration?

0 Karma

codebuilder
Influencer

The total size of your datamodel acceleration is presented nicely by the web UI on any search head member in your cluster.
Settings > Datamodels > All >

Then expand the row for the datamodel you want to find info about. The "Size on Disk" is what I believe you are looking for, and this number represents the total size, across all indexers.

alt text

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

codebuilder
Influencer

Did this solution work for you?

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

payal23
Path Finder

I used | rest "/services/admin/introspection--disk-objects--summaries?count=-1" | stats sum(total_size) by name | addcoltotals

But I can see two datamodel for the same name

  1. DataModel_A
  2. DataModel_A.ObjectName

I can see DataModel_A taking space which is shown in the UI disk space.
DataModel_A.ObjectName is taking a huge space. But the same i cannot see in any of the path in the server.

Can aynone help me in this?

0 Karma

p_gurav
Champion

Try adding | search type="data_model_acceleration" to search query

0 Karma

payal23
Path Finder

yes.. it is listing all.. still. I want to understand what is that .Objectname file and in the server where it resides and consuming space

0 Karma

p_gurav
Champion

On the indexers, It is stored in $SPLUNK_HOME/var/lib/splunk/index_name/datamodel_summary, where "index_name" is the name of the index from which the datamodel is collecting data.

0 Karma

payal23
Path Finder

yes.. checked the same.. When i check inside datamodel_summary it is taking 20 GB. But I can see there is an increase of 200 GB in the server. So, when i check with the rest query which i posted in the question, it is showing 200 GB, but the same i cannot see in the server.

So, I am confused!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...