The redmine output is used to create a ticket via the API redmine.
It send a POST request in a JSON format and use TOKEN authentication
– Exemple of use –
output { redmine { url => “http://redmineserver.tld” token => ‘token’ project_id => 200 tracker_id => 1 status_id => 3 priority_id => 2 subject => “Error … detected” } }
output {
redmine {
assigned_to_id => ... # number (optional), default: nil
categorie_id => ... # number (optional), default: nil
codec => ... # codec (optional), default: "plain"
description => ... # string (optional), default: "%{message}"
fixed_version_id => ... # number (optional), default: nil
parent_issue_id => ... # number (optional), default: nil
priority_id => ... # number (required)
project_id => ... # number (required)
ssl => ... # boolean (optional), default: false
status_id => ... # number (required)
subject => ... # string (optional), default: "%{host}"
token => ... # string (required)
tracker_id => ... # number (required)
url => ... # string (required)
workers => ... # number (optional), default: 1
}
}
redmine issue assigned_to not required for post_issue
not required for post_issue
The codec used for output data. Output codecs are a convenient method for encoding your data before it leaves the output, without needing a separate filter in your Logstash pipeline.
redmine issue description required
Only handle events without any of these tags. Note this check is additional to type and tags.
redmine issue fixed_version_id
redmine issue parent_issue_id not required for post_issue
redmine issue priority_id required
redmine issue projet_id required
redmine issue status_id required
redmine issue subject required
Only handle events with all of these tags. Note that if you specify a type, the event must also match that type. Optional.
redmine token user used for authentication
redmine issue tracker_id required
The type to act on. If a type is given, then this output will only act on messages with the same type. See any input plugin’s “type” attribute for more. Optional.
host of redmine app value format : ‘http://urlofredmine.tld’ - Not add ‘/issues’ at end
The number of workers to use for this output. Note that this setting may not be useful for all outputs.