Splunk Search

splunk

Siddharthnegi
Contributor

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
Contributor

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!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...

New Splunk Innovations Enhance Performance and Accelerate Troubleshooting

Splunk is excited to announce new releases that empower ITOps and engineering teams to stay ahead in ever ...