Splunk Enterprise

common fields

Siddharthnegi
Contributor

I have 2 lookups . first lookup have multiple fields including Hostname and the second lookup have only Hostname field . I want to find common Hostname from both lookups ,How can i do that?

0 Karma

manjunathmeti
Champion

Hi @Siddharthnegi ,

You can use this query, this works if the field Hostname is there in both the lookups.

| inputlookup first_lookup where ([| inputlookup second_lookup | fields Hostname])

 

Get Updates on the Splunk Community!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...