forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ee6581
commit de4e90c
Showing
4 changed files
with
36 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ vendor | |
data | ||
.buildpath | ||
.project | ||
etc/jira-output.conf |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
input { stdin { type => "stdin-type"}} | ||
|
||
output { | ||
jira { | ||
host => "pm.xyz.com" | ||
apikey => "user:password" | ||
project => "LOGSTASH" | ||
# searchfields => hash { 'field' => 'value', 'field2' => 'value2' } # only when used with the append method | ||
# method => append/new # Create a new ticket with every event or append it based on the search method | ||
# fields => hash { 'JiraField1' => 'value1', 'JiraField2' => 'value2' } # Add data to field for the ticket when its created initially | ||
# comment => 'string' # Add comment to the ticket ( a new comment is placed all the time when in append method ) | ||
} | ||
|
||
stdout { | ||
debug => true | ||
debug_format => "ruby" | ||
} | ||
|
||
elasticsearch { | ||
index => "logstash" | ||
type => "%{@type}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters