community.general.logdna callback – Sends playbook logs to LogDNA

Note

This callback plugin is part of the community.general collection (version 6.6.2).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general. You need further requirements to be able to use this callback plugin, see Requirements for details.

To use it in a playbook, specify: community.general.logdna.

Synopsis

Requirements

The below requirements are needed on the local controller node that executes this callback.

Parameters

Parameter

Comments

conf_hostname

string

Alternative Host Name; the current host name by default.

Configuration:

  • INI entry:

    [callback_logdna]
    conf_hostname = VALUE
    
  • Environment variable: LOGDNA_HOSTNAME

conf_key

string / required

LogDNA Ingestion Key.

Configuration:

  • INI entry:

    [callback_logdna]
    conf_key = VALUE
    
  • Environment variable: LOGDNA_INGESTION_KEY

conf_tags

string

Tags.

Default: "ansible"

Configuration:

  • INI entry:

    [callback_logdna]
    conf_tags = ansible
    
  • Environment variable: LOGDNA_TAGS

plugin_ignore_errors

boolean

Whether to ignore errors on failing or not.

Choices:

  • false ← (default)

  • true

Configuration:

  • INI entry:

    [callback_logdna]
    plugin_ignore_errors = false
    
  • Environment variable: ANSIBLE_IGNORE_ERRORS

Authors

  • Unknown

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.