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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...