Using the connector, you can send test execution information to Splunk then use that data to create visualizations.
Below is a quick guide to setting up and using the Splunk connector.
This connector does not come pre-loaded out of the box for self-hosted/on-premises, and will need to be loaded separately. To learn how to load the connector into your API Fortress instance click here.
Note: You can click on the screenshots to zoom in.
Access the company dashboard by clicking the gear icon in the top right corner
Click on “Alert Groups”
Create a new group or add a connector to an existing alert group
Add a new connector
Choose the Splunk connector
Configure the connector1. `url` - this is the url for "http event collector" generated in [Splunk platform](https://docs.splunk.com/Documentation/SplunkCloud/8.0.2003/Data/UsetheHTTPEventCollector#Configure\_HTTP\_Event\_Collector\_on\_self-service\_Splunk\_Cloud). Please include the port number in the url, but do not include the endpoint. 2. `hec_token` - this is the token generated for the "http event collector"
Go into project settings for a project you would like Splunk connector set up for
Add the alert group that contains your Splunk connector to this project
You can create a dataset table of your executions like so:
You can also use the data to create visualizations like below:In this example, you can see all the tests executed, and the "blue" bar is the total number of successful runs whereas the "green" bar shows the total number of failed runs.
You can also watch a video walk through of the integration below.