From f12e712bb922df3a0bbc25a6bbb6cf03ea648127 Mon Sep 17 00:00:00 2001 From: pcrews Date: Thu, 17 Jul 2014 14:54:38 -0700 Subject: [PATCH] Adding tripleo-ci files to be indexed by logstash Adding log files and fixing format tags for tripleo jobs in the config file defining which files get indexed by logstash. Only adding common / basic files for host_info, os-collect-config, and mysql logs from /mnt/state/var/log. Partial-bug: 1328645 Change-Id: I9d858895602440668fbf1f9ecd34bb4e3b9a2548 --- .../files/logstash/jenkins-log-client.yaml | 64 +++++++++++++++++-- 1 file changed, 58 insertions(+), 6 deletions(-) diff --git a/modules/openstack_project/files/logstash/jenkins-log-client.yaml b/modules/openstack_project/files/logstash/jenkins-log-client.yaml index 453c122b20..f2878bb6a5 100644 --- a/modules/openstack_project/files/logstash/jenkins-log-client.yaml +++ b/modules/openstack_project/files/logstash/jenkins-log-client.yaml @@ -459,21 +459,73 @@ source-files: - apachecombined job-filter: '.*grenade.*' # tripleo logs + - name: logs/get_state_from_host.txt + tags: + - console + - tripleo + job-filter: '.*-tripleo-.*' + # tripleo-seed + - name: logs/seed_logs/host-info.txt + tags: + - console + - seed + job-filter: '.*-tripleo-.*' - name: logs/seed_logs/os-collect-config.txt tags: - - os-collect-config - - seed - syslog + - seed + job-filter: '.*-tripleo-.*' + # tripleo-seed-state-logs + - name: logs/seed_logs/mnt/mysql/error.txt + tags: + - console + - seed + job-filter: '.*-tripleo-.*' + - name: logs/seed_logs/mnt/mysql/mysql-slow.txt + tags: + - console + - seed + job-filter: '.*-tripleo-.*' + # tripleo-undercloud + - name: logs/undercloud-undercloud_logs/host-info.txt + tags: + - console + - uc-controller job-filter: '.*-tripleo-.*' - name: logs/undercloud-undercloud_logs/os-collect-config.txt tags: - - os-collect-config - - uc-controller - syslog + - uc-controller + # tripleo-undercloud-state-logs + - name: logs/undercloud-undercloud_logs/mnt/mysql/error.txt + tags: + - console + - uc-controller + job-filter: '.*-tripleo-.*' + - name: logs/undercloud-undercloud_logs/mnt/mysql/mysql-slow.txt + tags: + - console + - uc-controller + job-filter: '.*-tripleo-.*' + # tripleo-overcloud + - name: logs/overcloud-controller0_logs/host-info.txt + tags: + - console + - oc-controller job-filter: '.*-tripleo-.*' - name: logs/overcloud-controller0_logs/os-collect-config.txt tags: - - os-collect-config - - oc-controller - syslog + - oc-controller + job-filter: '.*-tripleo-.*' + # tripleo-overcloud-state-logs + - name: logs/overcloud_controller0_logs/mnt/mysql/error.txt + tags: + - console + - overcloud + job-filter: '.*-tripleo-.*' + - name: logs/overcloud_controller0_logs/mnt/mysql/mysql-slow.txt + tags: + - console + - overcloud job-filter: '.*-tripleo-.*'