Splunk Dev

Can I access datamodel endpoints using python SDK

Path Finder

Can I access datamodel objects using python SDK ?
I am aware that I can access them via Java and Javascript SDK.

Another question is, can I access the aggregated data sets generated out of accelerated data models or reports using python SDK and feed those data sets to the integerating components ?
Its like, making available that aggregated data to the analytics platform via python SDK.

Please advise and thanks in advance!

0 Karma

Splunk Employee
Splunk Employee

I am also looking for a way to do this.

Depends on what you need and what you want to do, but a way to access them would be using Entity and Collections classes.

DATAMODEL_ENDPOINT = 'datamodel/model'
datamodels = Collection(self.service_wrapper.service, DATAMODEL_ENDPOINT)
for datamodel in datamodels:
  // do stuff

Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...