I am trying to use the redmine output plugin to write tickets to my redmine database. my config works but my question is how to make the description field more robust.
I am trying to use description => "%{message}" so that the entire message gets thrown into the description field. When I do this my descriptions literally "%message". When I use other field names such as note and use description => "%{note}" I get the value of field note in the description.
Here is a sample of my data:
{
"ts" => 1455124052684,
"uid" => "ChS7ac4M8vLd4OTau8",
"id.orig_h" => "x.x.x.x",
"id.orig_p" => 3098,
"id.resp_h" => "82.165.177.154",
"id.resp_p" => 80,
"proto" => "tcp",
"note" => "Intel::Notice",
"msg" => "Intel hit on testmyids.com/ at HTTP::IN_URL",
"sub" => "testmyids.com/",
"src" => "x.x.x.x",
"dst" => "82.165.177.154",
"p" => 80,
"peer_descr" => "manager",
"actions" => [
[0] "Notice::ACTION_EMAIL",
[1] "Notice::ACTION_LOG"
],
"suppress_for" => 3600.0,
"dropped" => false,
"@version" => "1",
"@timestamp" => "2016-02-10T17:07:37.849Z",
"host" => "satcon99",
"path" => "/nsm/bro/logs/current/notice.log",
"type" => "alert",
"@metadata" => {
"stage" => "redmine_alert"
}
What can I do to make sure the entire message field gets put in the description of the redmine ticket?