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!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Self-Healing Pipeline Is Now Generally Available: AI-Powered CIM Compliance

Maintaining data integrity across security and analytics pipelines is an ongoing challenge. Data ...

[Puzzles] Solve, Learn, Repeat: Family Trees

This puzzle (first published here is based on finding grandparents and grandchildren (inspired by a question ...