- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

stavbergen
Explorer
09-15-2021
05:18 PM
Hello I have 3 sets of data and I want to join them all but they don't have the same common field, the trouble I'm having is linking table 2 to table 3.
Table 1
host, ip
Table 2
host, ip, user
Table 3
user, location
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
09-16-2021
05:06 AM
Yes, joins can be nested.
index=foo host=* ip=*
| join host, ip [ index=bar host=* ip=* user=*
| join user [ index=baz user=* location=* ]
]
]
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
09-16-2021
05:06 AM
Yes, joins can be nested.
index=foo host=* ip=*
| join host, ip [ index=bar host=* ip=* user=*
| join user [ index=baz user=* location=* ]
]
]
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
