Splunk® Add-on Builder

Splunk Add-on Builder User Guide

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of Splunk® Add-on Builder. For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Validate

In the Validate section, validate your add-on for best practices, and test the modular/scripted inputs, field extractions, and CIM mappings. The Splunk Add-on Builder shows you any errors or warnings, along with recommendations about how to address them.

AddonBuilder 6Validate.png

Select the types of validations to perform:

  • Best Practices
  • CIM Mapping
  • Field Extraction
  • Modular Input


Click Validate to display the results.

Health Score This score is a validation score based on the errors, warnings, and failed rules.

This health score is valid in a local environment. The score could be different for the same add-on if the add-on were validated in other environments or at different times due to differences in global knowledge management and differences in indexed data. Use the health score as a subjective indicator about the overall quality of your add-on.

Total Errors The total number of errors that were found.
Total Warnings The total number of warnings that were found.
Failure Rule Count The number of errors and warnings per validation category.
Validation Result Distribution The ratio of errors to warnings.
Rules Details A list of all the errors and warnings, with details about the validation category, a description of the rule that was broken, and a suggested solution to fix the problem.

Sometimes the suggested remedy is to directly edit a configuration file (.conf). The configuration files for your app are located in $SPLUNK_HOME/etc/apps/TA_your_addon_name, and you can edit them in a text editor. After you save changes to the file, refresh Splunk Web by going to
http://<localhost:port>/en-US/debug/refresh.

For more information about the best practices for add-ons, see:

Last modified on 29 June, 2016
PREVIOUS
Map to CIM
  NEXT
Summarize

This documentation applies to the following versions of Splunk® Add-on Builder: 1.0.0, 1.0.1


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters