26 lines
533 B
Plaintext
26 lines
533 B
Plaintext
# Description: Take in jira tickets from vulnWhisperer and pumps into logstash
|
|
|
|
input {
|
|
file {
|
|
path => "/opt/VulnWhisperer/data/jira/*.json"
|
|
type => json
|
|
codec => json
|
|
start_position => "beginning"
|
|
mode => "read"
|
|
start_position => "beginning"
|
|
file_completed_action => "delete"
|
|
|
|
tags => [ "jira" ]
|
|
}
|
|
}
|
|
|
|
output {
|
|
if "jira" in [tags] {
|
|
stdout { codec => rubydebug }
|
|
elasticsearch {
|
|
hosts => [ "elasticsearch:9200" ]
|
|
index => "logstash-vulnwhisperer-%{+YYYY.MM}"
|
|
}
|
|
}
|
|
}
|