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!

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 ...