I am getting same output as previous.
stdout { codec => rubydebug }
}
Output :
"message" => "<?xml version='1.0' encoding='UTF-8'?>\n\n \n <hudson.model.CauseAction>\n \n \n <hudson.model.Cause_-UserIdCause>\n rattisyam\n </hudson.model.Cause_-UserIdCause>\n 1\n \n \n </hudson.model.CauseAction>\n <hudson.plugins.jobConfigHistory.JobConfigBadgeAction plugin="jobConfigHistory@2.18">\n \n 2018-01-31_14-29-10\n 2018-01-31_14-02-54\n \n </hudson.plugins.jobConfigHistory.JobConfigBadgeAction>\n <jenkins.metrics.impl.TimeInQueueAction plugin="metrics@3.1.2.10">\n 7\n </jenkins.metrics.impl.TimeInQueueAction>\n <hudson.plugins.git.util.BuildData plugin="git@3.6.4">\n \n \n refs/remotes/origin/master\n <hudson.plugins.git.util.Build>\n \n 0eae8a5c898e67eab676b5e95983ac11a20e7534\n \n <hudson.plugins.git.Branch>\n \n refs/remotes/origin/master\n </hudson.plugins.git.Branch>\n \n \n \n 7\n </hudson.plugins.git.util.Build>\n \n \n \n \n https://github.com/rattisyam/maven-project.git\n \n </hudson.plugins.git.util.BuildData>\n <hudson.plugins.git.GitTagAction plugin="git@3.6.4">\n \n \n refs/remotes/origin/master\n \n \n \n /var/lib/jenkins/workspace/PackageJob\n </hudson.plugins.git.GitTagAction>\n <hudson.scm.SCMRevisionState_-None/>\n \n 37\n 1517408954042\n 1517408954042\n SUCCESS\n 10718\n UTF-8\n false\n \n /var/lib/jenkins/workspace/PackageJob\n 2.73.3\n \n false\n \n ",
"@version" => "1",
"host" => "ip-172-31-43-243",
"type" => "buildxml",
"tags" => [
[0] "multiline"
],
"path" => "/var/lib/jenkins/jobs/PackageJob/builds/7/build.xml",
"@timestamp" => 2018-03-01T09:03:07.930Z
}
Note: Still I am unable to get tag in the message. Please help me how to get that last tag. and even i changed what==> previous and auto_flush_interval =>3 seconds.