Knowledge Management

alert in datamodel

vumanhtai
Path Finder

Hi Splunk Team
I see this message on my entire datamodel, how can I fix it?
"This object has no explicit index constraint. Consider adding one for better performance."
How can fix it
Thanks

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Edit the data model and add "index=foo" (change "foo" to the index that contains data relevant to the DM) to the first constraint.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Edit the data model and add "index=foo" (change "foo" to the index that contains data relevant to the DM) to the first constraint.

---
If this reply helps you, Karma would be appreciated.

vumanhtai
Path Finder

thank you

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...