Reporting

Doing join of data model child objects

kamalm1
Explorer

Data Model Name Child Objects Property Values Property Values
datamodel1

childobject1 Description RequestID

record1 r1
record2 r2
record3 r3

childobject2    LogoutTime      RequestID   
        10:00 PM        r2
        11:00 PM        r3

Final output required as through search query not in data model RequesID Description LogoutTime

r1 record1

r2 record2 10:00 PM

r3 record3 11:00 PM

Tags (1)
0 Karma

kamalm1
Explorer

| datamodel search | fields + "field1" "field2" join type=left field1 [| datamodel search | fields + "field1"] | 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 ...