All Apps and Add-ons

Lookup Editor

rajanshrivastav
Path Finder

Hi,
I'm constantly getting following error in lookup editor app - "The lookup could not be loaded from the server"

I checked for permission on server, everything is ok, I checked with splunk support team, they told me that this is community supported app so they won't be able to help me on this.

I'm stuck on this for quite long time. Please help me in this case.

Thanks,

Tags (1)
0 Karma
1 Solution

rajanshrivastav
Path Finder

This issue has been fixed by upgrading this to latest version.

Thank you all for helping me. 🙂

View solution in original post

0 Karma

quzen
Explorer

I had the same error, but for 1 particular CSV lookup file.

So, I suspected that there is an issue with the file's content.

Finally I found a special char NUL (\0) thanks to Notepad++ editor:

2021-11-18_144607.png

The problem was solved by removing that special char, deleting lookup and re-importing lookup.

rajanshrivastav
Path Finder

This issue has been fixed by upgrading this to latest version.

Thank you all for helping me. 🙂

0 Karma

richgalloway
SplunkTrust
SplunkTrust

@rajanshrivastav786 If your problem is resolved, please accept the answer to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma

ddrillic
Ultra Champion

Based on the identical case at owned lookupfiles can't be edited

It seems to be a permission issue.

0 Karma

FeatureCreeep
Path Finder

Make sure when you add a new csv, you actually add ".csv" to the end of the file name. It won't work right if you don't.

0 Karma

valiquet
Contributor

I had the same issue because I renamed the app root folder. 😕

0 Karma

rajanshrivastav
Path Finder

@valiquet, can you please explain a little more, how you fixed this issue.

Thanks,

0 Karma

valiquet
Contributor

After extracting the app from the archive, I renamed it and it was causing a bug. Did you rename the folder?

0 Karma

rajanshrivastav
Path Finder

No, I didn't renamed the App.

0 Karma

p_gurav
Champion

Hi,

Can you try this:
By going to etc/apps/the app that contains the lookup/metadata/local.meta

search for the csv file entry. should look something like this.

[lookups/lookup_table.csv]
version = ###
owner = nobody
modtime = 1464798467.783966000
access = read : [ * ], write : [ admin ]
export = system

and set the owner to nobody. You can restart the splunk process or issue the refresh command by going to http://splunk_server:8000/en-US/debug/refresh

0 Karma

rajanshrivastav
Path Finder

[root@splunk-prod2 metadata]# vim local.meta
[app/install/install_source_checksum]
version = 6.4.2
modtime = 1470899674.831067000

[]
access = read : [ * ], write : [ * ]
export = system
version = 6.5.3
modtime = 1518605602.193440000

[nav/default]
access = read : [ * ], write : [ admin, soc_edit_lookups ]
export = system
owner = nobody
version = 6.5.3
modtime = 1520116817.352097000

[views/lookup_edit]
access = read : [ * ], write : [ admin, soc_admin_role, soc_edit_lookups ]
export = system
owner = nobody
version = 6.5.3
modtime = 1520116785.563633000

[views/lookup_list]
access = read : [ * ], write : [ admin ]
export = system
owner = nobody
version = 6.5.3
modtime = 1520116794.498257000

[views/lookup_new]
access = read : [ * ], write : [ admin ]
export = system
owner = nobody
version = 6.5.3
modtime = 1520116803.294667000

[app/ui]
version = 6.5.3
modtime = 1519038393.200598000

and permission of local.meta is 777 for now.

Still getting the same issue

Error --
The lookup could not be loaded from the server
Right-click the table for editing options

0 Karma

p_gurav
Champion

Are you checking inside lookup editor app?

0 Karma

rajanshrivastav
Path Finder

Yes, inside the lookup editor app.

0 Karma

rajanshrivastav
Path Finder

I've set permission to 755 in /$SPLUNK_HOME/etc/app/

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...