Reporting

Doing union of data model child objects

kamalm1
Explorer

Data Model Name Child Objects Property Values
datamodel1

childobject1 Description

record1
record2

                                 childobject2                          Description  
                                                                                                record3
                                                                                                record4

Final output required as through search query not in data model record1

record2

record3

record4

Tags (1)
0 Karma

kamalm1
Explorer

| set union [| datamodel search | fields + "field1" "field2"] [| datamodel search | fields + "field1" "field2"]

Above solution is verified and working.

0 Karma

MuS
Legend
0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

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

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...