All Apps and Add-ons

Error is showing while hitting endpoint for datamodel.

nisu
Explorer

I need default configuration for datamodel which are globally defined.For that I am using following URL.

https://:8089/servicesNS/nobody/test/datamodel/model/default

This will throw the following error.

<response>
    <messages>
           <msg type="ERROR">Could not find object id=default</msg>
    </messages>
</response>

Can anyone help me? Any small help would be appreciated.

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

I don't have your model, but:

https://localhost:8089/servicesNS/nobody/search/datamodel/model

Works fine for me. You don't have a hostname in your URL. Maybe that is the issue?

0 Karma

nisu
Explorer

this works fine for me.But when I append default after this it will throw an error.

Following works fine.
https://localhost:8089/servicesNS/nobody/search/datamodel/model

Following is not working.
https://localhost:8089/servicesNS/nobody/search/datamodel/model/default

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...