Getting Data In

REST endpoint for datasets?

matstap
Communicator

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

niketn
Legend

@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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...