Splunk Search

Lookup Table as input for Dashboard

MarieHe
New Member

Hello,

I would like to enter the info from a lookup table into my dashboard search.

 

lookup table name: FIP.csv

content:

field1;field2

160;43

180;50

 

I tried this:

| inputlookup FIP.csv

and then several add-ons like

| lookup FIP field1 OUTPUTNEW field2

but nothing works.

 

What is the correct syntax?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Have you added it to the list of lookups?

ITWhisperer_0-1629204877329.pngITWhisperer_1-1629204907721.png

 

0 Karma

MarieHe
New Member

Yes. And I can see it in "Datasets", too.

 

| inputlookup "NRCS2AUDI_FIP_Lookup_SOLL.csv"

is working but I cannot devide the two different columns with ; into two separate types

Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval field1=mvindex(split('field1;field2',";"),0)
| eval field2=mvindex(split('field1;field2',";"),1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...