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
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...