community.general.splunk (0.2.1) — callback

Sends task result events to Splunk HTTP Event Collector

Authors: Stuart Hirst <support@convergingdata.com>

Install collection

Install with ansible-galaxy collection install community.general:==0.2.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.2.1

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