Splunk Search

How can I use lookup?

harishyhrk
New Member

How can I do this in splunk?

Tags (1)
0 Karma

nabeel652
Builder

Your requirement is a bit unclear to me. You have only one value in each of first and second csv. Anyway the following query may work by selecting bar or column chart from the visualisations. The following query will show TotalTime from first csv and append TotalTime form second csv underneath that.

| inputlookup csv1.csv | append [|inputlookup csv2.csv] | table TotalTime
0 Karma

p_gurav
Champion

Did both event have same _time? Can you provide sample event after indexing?

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...