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
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!