Splunk Search

case-sensitive on subsearch

simo
Path Finder

hi

I have this situation

index="idx" [| inputlookup name.csv | table id name ]

idx=

idname
1a2aaa
1A2aaa
12abbb

 

lookup

idname
1a2

aaa

 

the result is that it extracts the first 2 lines. How do I extract just the first line?

Thank you

Simone

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

index="idx" 
| where [| inputlookup name.csv | table id name ]

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

index="idx" 
| where [| inputlookup name.csv | table id name ]
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...