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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...