Splunk Search

lookup table problem

my_splunk
Path Finder

I have already used lookup table with splunk 4.3 and i have never had problems.
With 5.0.1 i have a strange problem.
I have this in my ../etc/apps/search/local/props.conf file

[mycsv]
LOOKUP-calendar = calendar month OUTPUTNEW my_month

and in ../etc/apps/search/local/transforms.conf file

[calendar]
filename = calendar.csv

where calendar is in ../etc/apps/search/local/lookups

In manager console i have put lookup definition and lookup file objects to global.
At search time i have this error:
The lookup table 'calendar' does not exist. It is referenced by configuration 'mycsv'.

Can you healp me?

Thanks

Tags (1)
0 Karma

Ayn
Legend

You've put the csv file in the wrong location. It shouldn't be in etc/apps/search/local/lookups, it should be in a lookups directory directly under the app root, i.e. etc/apps/search/lookups.

Ayn
Legend

Did you restart Splunk after editing the configuration files?

my_splunk
Path Finder

This is my updating. I have seen that there are many known issues abouk lookup with 5.0.1 version and i think i found another.
When i use directly conf file (props, transforms) splunk do not find lookup definition, in fact in manager console lookup definition is empty. If i use web interface for lookup creation (i mean manager->lookup and then in order lookup file, lookup defition and automatic lookup) there are no problem.
I tjink this is a bug, how can i report it?

0 Karma

my_splunk
Path Finder

as soon as possible i try this same configuration in 4.3 splunk....

0 Karma

Ayn
Legend

I don't know, sorry - your conf looks OK to me.

0 Karma

my_splunk
Path Finder

Sorry, i have wrote a wrong thing in my post.
I have correctly put csv file in etc/apps/search/lookups
So why this error at search time?

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 ...