All Apps and Add-ons

Building new web framework javascript with requirejs

gpburgett
Splunk Employee
Splunk Employee

I am making a view with the new web framework and I am trying to use require.js to break up the code and make it easier to maintain. The view is nice and crisp on modern browsers but unfortunately the view is meant to be viewed on an embedded browser that would not be considered "modern". So, I am looking for ways to improve the loading time and performance of the page and I see that it takes a while to just load all of the different pieces of javascript code.

Require.js provides a utility that lets you compile all of your javascript files into one compact file and from what I can tell Splunk's default search and management pages use javascript compiled this way. Is there a good way to do this with custom views in the new web framework?

0 Karma

ineeman
Splunk Employee
Splunk Employee

We don't have this functionality available out of the box at the moment, but it is definitely something we are pursuing and want to help developers be able to compile and minify their application code.

You should also add this as a request to our UserVoice.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...