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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...