I am creating lookup csv files for my app on a nightly basis via scheduled searches doing search | outputlookup mydata.csv
.
I have verified that the mydata.csv
exists under my app's lookups directory, and it contains the correct data. However, when running inputlookup mydata.csv
no results come back.
What am I doing wrong?
It appears that you must start the search with a pipe. I was trying:
inputlookup mydata.csv
But got no results. What I should have been searching for was:
| inputlookup mydata.csv
That pipe made it work.
That'll do it...
I had actually posted the complete search I was trying in the post itself, but I just across a "ah-ha" moment that showed me what I was doing wrong. I needed to add a pipe before the inputlookup
command before I would get results
Perhaps a flaw in your inputlookup usage, but if you don't post an example search we cannot see.