Splunk Search

Lookup table "no matching fields exist" when the fields totally do exist

jravida
Communicator

Hi folks,

I've been troubleshooting a lookup table (with global permissions shared with all apps) that hasn't worked for a certain group. Works great for me as admin, but not the user group I created. However when, as the user, I query:

| inputlookup mylookup.csv

I can clearly see the lookup table displayed with the fields and field names.

but within the query (say it is to lookup the car make from the car model):

| lookup mylookup.csv CARMODEL | table CARMODEL CARMAKE

returns nothing for the user group member

I can't for the life of me figure out why it isn't taking this data that it can view and pass it through to the query. I just get N/A in my panel, and when I view the search I see the "no matching fields exist" in the info button, yet I can view them as the user when i |inputlookup mylookup.csv

Any help greatly appreciated

Tags (1)
0 Karma

woodcock
Esteemed Legend

You are not using the correct syntax; try this:


| lookup mylookup.csv CARMODEL OUTPUT CARMAKE | table CARMODEL CARMAKE

0 Karma

jravida
Communicator

I tried both and they both work for admin, neither work for the user

0 Karma

woodcock
Esteemed Legend

A lookup has 3 parts (3 "knowledge objects"): The lookup, an entry in props.conf and an entry in transforms.conf. Each one of these must have the correct permissions for the user running the search or it will not work. Check all your permissions and you will find the problem.

0 Karma

jravida
Communicator

I've checked the permissions for the lookup in-app, but in the back end, what permissions are required (Linux) for the props.conf and transforms.conf to work?

0 Karma

woodcock
Esteemed Legend

I do not mean permissions at the file level in the OS (linux); I mean Knowledge Object permissions within Splunk. Go to "Settings" -> "All Configurations" and set "App Context" to "All" and "Owner" to "Any". Search for your lookup KOs. Look at the "Sharing" setting for each one and make sure that "Read" is checkmarked for "Everyone".

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