Set a message_format for logstash log-pusher input

* modules/openstack_project/templates/logstash/agent.conf.erb: Set
message_format to "%{@message}".

Change-Id: Ia8e753ff8bc9a2e0b16a6b43a7cbaf74c6a59eb2
Reviewed-on: https://review.openstack.org/26412
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: K Jonathan Harker <jesusaurus@mail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2013-04-08 15:45:24 -07:00 committed by Jenkins
parent 40d012787e
commit d9d2af5eaf
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ input {
pipe {
command => "python3 /usr/local/bin/log-pusher.py -r -z tcp://jenkins.openstack.org:8888 -l http://logs.openstack.org -f console.html"
format => "json"
message_format => "%{@message}"
tags => ["jenkins", "console"]
type => "jenkins_console"
}