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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...