Knowledge Management

Data Model: Change Root Event Constraint returns 0 results.

Tim_1
Path Finder

Hi all,

I've been working on a Data Model, and have a root event with constraint:
index=test_index

Now, when I change the constraint to:
index=prod_index

In the preview, nothing gets returned.

1) Can you change the index in the constraint?
2) Also, can you have wildcard in the constrain such as index="*_index"?

There is data in both indexes and I'm using Splunk Enterprise 6.4.2.

Thanks all.

0 Karma

andre_tucker
Path Finder

Yes I believe if your constraints are required and come in as null then the preview will take this into account and not show results. Please test by changing the required field to optional. If that does not work let me know.

0 Karma

andre_tucker
Path Finder

Are there any fields that you are specifying as "required" that are null in your prod index?

0 Karma

Tim_1
Path Finder

@andre_tucker, yes there were.
Does previewing the data when changing the constraint also apply the required attributes as well then?

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...