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!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

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