Splunk Search

InputCsv not working

Tim
Explorer

Has anyone had issues using InputCsv? I created a CSV files using the 'outputcsv x' on a small event set. I verified the CSV file exists and is well-formed. Unfortunately 'inputcsv x' or 'inputcsv x.csv' doesn't return anything.

I've tried from both the UI and the command-line - both with the same result.

Tags (1)
0 Karma

ImanIself
Explorer

You can try to put a pipe symbol prior to the search on the UI. For example:

| inputcsv rrcidrlist

returns my data correctly however:

inputcsv rrcidrlist

returns nothing. I have noticed that some commands need a pipe in front. Perhaps someone can explain this better?

0 Karma

ftk
Motivator

Can you please post the example search you are using, as well as any config entries you have created for this lookup, and the location of your csv file. Thanks

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...