Getting Data In

REST endpoint for datasets?


I'm trying to get the REST endpoint for datasets of a data model. I can find the endpoint for the data model, but I'm having no luck finding the endpoint for the datasets. Can I get some help on this?

0 Karma


@matstap, what is your objective, you want to pull information of dataset or whenever a search using dataset is run?

I dont think there is a separate REST endpoint for table. If you have already run the datamodel REST API, have you tried the following using dataset.type="table" to identify ?

| rest /servicesNS/-/-/datamodel/model/
| search eai:type="datamodel" dataset.type="table"
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...