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

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

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!