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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...