Developing for Splunk Enterprise

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

Re: Can I access datamodel endpoints using python SDK

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