ansible.builtin.splunk (v2.9.27) — callback

Sends task result events to Splunk HTTP Event Collector

| "added in version" 2.7 of ansible.builtin"

Authors: Stuart Hirst <support@convergingdata.com>

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This callback plugin will send task results as JSON formatted events to a Splunk HTTP collector.

The companion Splunk Monitoring & Diagnostics App is available here "https://splunkbase.splunk.com/app/4023/"

Credit to "Ryan Currah (@ryancurrah)" for original source upon which this is based.


Requirements

Inputs

    
url:
    description: URL to the Splunk HTTP collector source
    env:
    - name: SPLUNK_URL
    ini:
    - key: url
      section: callback_splunk

authtoken:
    description: Token to authenticate the connection to the Splunk HTTP collector
    env:
    - name: SPLUNK_AUTHTOKEN
    ini:
    - key: authtoken
      section: callback_splunk