Dashboards & Visualizations

Error when loading custom modules

slashnburn
Path Finder

I created a custom module, which shows up in http:..../modules but when loading the app, it says the module cannot be found.

I also have placed the module in the TreeMap1.conf file using className = Splunk.Module.TreeMap1.

The modules folder is called TreeMap1 and the JavaScript file is named TreeMap1.js.

Any ideas on why this isn't loading?

0 Karma
1 Solution

slashnburn
Path Finder

I think I determined the problem. It seems if you have any errors in your JavaScript, they could (or could not) cause the module to improperly load!

View solution in original post

0 Karma

slashnburn
Path Finder

I think I determined the problem. It seems if you have any errors in your JavaScript, they could (or could not) cause the module to improperly load!

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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Watch on demand us for a demo-driven ...