Splunk Search

splunk

Siddharthnegi
Communicator

How to create empty.csv lookup in web

Labels (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

No you can't. Excels xlsx file's format is something else than ASCII/UTF-8 text with separator. It's somekind of XML file.

If you want to use files from Excel you should export those to CSV before use. Then you can use that CSV file.

On splunkbase there seems to be app https://splunkbase.splunk.com/app/6969. Unfortunately it seems to be licensed or something similar as it's not freely downloable. Also it just export data to excel not read from excel, if I have understood right.

View solution in original post

isoutamo
SplunkTrust
SplunkTrust

Hi

here is the simplest way

| makeresults
| search foo
| outputlookup foo.csv

 

Basically you should create "empty" resultset and then forward it to outputlookup command.

r. Ismo 

Siddharthnegi
Communicator

Siddharthnegi_0-1693548364652.png

can i use xlsx file . here

0 Karma

isoutamo
SplunkTrust
SplunkTrust

No you can't. Excels xlsx file's format is something else than ASCII/UTF-8 text with separator. It's somekind of XML file.

If you want to use files from Excel you should export those to CSV before use. Then you can use that CSV file.

On splunkbase there seems to be app https://splunkbase.splunk.com/app/6969. Unfortunately it seems to be licensed or something similar as it's not freely downloable. Also it just export data to excel not read from excel, if I have understood right.

gcusello
SplunkTrust
SplunkTrust

Hi @Siddharthnegi ,

in addition, remember to create a lookup definition [Settings > Lookups > Lookup Definition] otherwise you cannot fully use the lookup.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Customer Experience | Splunk 2024: New Onboarding Resources

In 2023, we were routinely reminded that the digital world is ever-evolving and susceptible to new ...

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...