Modular inputs
Modular inputs are a feature of Splunk that allow you to extend the platform in ways that are specifically geared to consuming data. Modular inputs can promote your scripted inputs to first-class natives of the Splunk platform. This gives you the ability to define how to collect the data and let your users define the settings with which to collect that data. "Why would you want that?" you might ask. Lots of reasons! For example, let's say that you want to gather data about the weather. You could write a scripted input to collect a single city's weather data from the API of wunderground.com. However, what happens when you want more than one city's weather data? You'll have to copy and paste the scripted input, change the API parameters, ...
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.