community.general.syslog_json (1.3.14) — callback

sends JSON events to syslog

Authors: Unknown (!UNKNOWN)

Install collection

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


Add to requirements.yml

  collections:
    - name: community.general
      version: 1.3.14

Description

This plugin logs ansible-playbook and ansible runs to a syslog server in JSON format

Before 2.9 only environment variables were available for configuration


Requirements

Inputs

    
port:
    default: 514
    description: port on which the syslog server is listening
    env:
    - name: SYSLOG_PORT
    ini:
    - key: syslog_port
      section: callback_syslog_json

server:
    default: localhost
    description: syslog server that will receive the event
    env:
    - name: SYSLOG_SERVER
    ini:
    - key: syslog_server
      section: callback_syslog_json

facility:
    default: user
    description: syslog facility to log as
    env:
    - name: SYSLOG_FACILITY
    ini:
    - key: syslog_facility
      section: callback_syslog_json