On this page
community.general.logstash – Sends events to Logstash
Note
This plugin is part of the community.general collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.logstash
.
Synopsis
- This callback will report facts and task events to Logstash https://www.elastic.co/products/logstash
Requirements
The below requirements are needed on the local controller node that executes this callback.
- whitelisting in configuration
- logstash (python library)
Parameters
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
port
string
|
Default:
5000
|
ini entries:
[callback_logstash]
added in 1.0.0 of community.general
env:LOGSTASH_PORT
|
Port on which logstash is listening
|
server
string
|
Default:
"localhost"
|
ini entries:
[callback_logstash]
added in 1.0.0 of community.general
env:LOGSTASH_SERVER
|
Address of the Logstash server
|
type
string
|
Default:
"ansible"
|
ini entries:
[callback_logstash]
added in 1.0.0 of community.general
env:LOGSTASH_TYPE
|
Message type
|
Authors
- Unknown (!UNKNOWN)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/logstash_callback.html