f07756b5bd
* modules/openstack_project/files/logstash/log-pusher.py: Make the log pusher properly configurable with a yaml configuration. As part of this change support multiple zmq publisher inputs, multiple file retrievers, job name filtering, and event tagging (with the filename). * modules/openstack_project/files/logstash/jenkins-log-pusher.yaml: Initial config for the log pusher. * modules/openstack_project/manifests/logstash.pp: Put new log pusher: config in place. * modules/openstack_proejct/files/logstash/jenkins-log-pusher.init: Run the log pusher service with the new config file. Change-Id: I4c8405b1edfa16bbcc8f998627c6240bef23f302 Reviewed-on: https://review.openstack.org/28113 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
17 lines
328 B
YAML
17 lines
328 B
YAML
# Defaults
|
|
source-defaults:
|
|
source-url: http://logs.openstack.org
|
|
output-host: localhost
|
|
output-port: 9999
|
|
output-mode: tcp
|
|
retry-get: False
|
|
|
|
# List of zmq event inputs.
|
|
zmq-publishers:
|
|
- tcp://jenkins.openstack.org:8888
|
|
|
|
# List of files to source logs from.
|
|
source-files:
|
|
- name: console.html
|
|
retry-get: True
|