Dashboards & Visualizations

global name lib is not defined

rroberts
Splunk Employee
Splunk Employee

Been working on advanced XML view. Suddenly got ...
Splunk cannot find the "sandbox-charting" view. And the view no longer shows up on navigation menu.
$SPLUNK_HOME/var/log/web_service.log shows...

2012-04-27 13:45:42,455 ERROR [4f9adb464b2368890] memoizedviews:116 - Error loading view "sandbox-charting"
2012-04-27 13:45:42,455 ERROR [4f9adb464b2368890] memoizedviews:117 - global name 'lib' is not defined
Traceback (most recent call last):

What gives? Komodo-edit shows file is well-formed XML.

Tags (3)
1 Solution

araitz
Splunk Employee
Splunk Employee

This is SPL-48364, which should have been fixed in 4.3.2. If you are seeing this in 4.3.2, this is a problem. If you are seeing this in a version prior to 4.3.2, try upgrading.

FWIW, if you hit this, it generally means there is something wrong with your view XML.

View solution in original post

araitz
Splunk Employee
Splunk Employee

This is SPL-48364, which should have been fixed in 4.3.2. If you are seeing this in 4.3.2, this is a problem. If you are seeing this in a version prior to 4.3.2, try upgrading.

FWIW, if you hit this, it generally means there is something wrong with your view XML.

rroberts
Splunk Employee
Splunk Employee

Upgrading did the trick, my views are back!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...