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!

.conf24 | Registration Open!

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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...