Summary

In this chapter, we converted an inline visualization into a customized SimpleSplunkView. As we saw, the benefits of this conversion are incredible. The modular ability allows the same code to be used over and over, without the likelihood of making mistakes in the copy-and-paste process. Once you've included the JavaScript in the base RequireJS stack, you can take advantage of the objects and instantiate the objects wherever you like.

After JavaScript views, we dove into modular inputs. Modular inputs give us the ability to reuse a script, while providing the end user with a simple interface with which to do the configuration as required. They can also be configured to take advantage of encrypted credentials within the script, securing ...

Get Splunk Developer's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.