Splunk is a monitoring service for cloud-scale applications. It combines data from servers, databases, tools, and services to present a unified view of an entire stack. This integration allows you to configure your Postman Monitors to send metrics to Splunk where you can visualize and compare them with other metrics.

Setting up a Splunk integration requires you to get an HTTP Event Collector (HEC) Token from Splunk and configure your Postman Monitors. After you set up the integration, you can view real-time alerts based on the results of your monitors.

Retrieving your Splunk HEC token

Log in to Splunk and follow the steps from Splunk to create and save your HTTP Event Collector token (HEC token). Save the HEC token to configure the Postman Splunk integration.

save splunk HEC token

Configuring Postman Splunk integration

  1. On your Postman Home page, navigate to Integrations, select Browse All Integrations, and select Splunk in the list of third-party integrations.

    splunk integrations search all

  2. You can select View All to see all integrations already created by your team.

    splunk integrations view all

  3. Select Splunk to start the configuration process.

    splunk integrations view all

  4. To send your monitor metrics and events to Splunk:

    • Name your new integration.
    • Select the workspace and monitor whose data you would like to send to Splunk.
    • Enter your Splunk HEC token, as described above.
    • Enter your Splunk host URL and port.

    splunk integration configuration

  5. Select Add Integration to save the configuration.

Viewing data in Splunk

As soon as your monitor runs, the data will start flowing into Splunk.

Viewing data in a list

  1. Navigate to the Splunk homepage, from the left navigation bar, select Search & Reporting.

  2. Enter a metric to search for and select it from the results to view details regarding it.

splunk metrics search

splunk metric details

Viewing data as a Pivot table

  1. Navigate to the Splunk homepage, from the left navigation bar, select Search & Reporting.

  2. Select Visualization and enter a metric to search for.

  3. Select Pivot.

  4. Select the metrics and filters you need to visualize on the table.

splunk pivot table

Once the data is present in Splunk, you can filter it based on the monitor name/uid, collection name/uid, user name/id, and environment name/uid (if present).

Last modified: 2021/09/03