22 lines
438 B
Plaintext
Executable File
22 lines
438 B
Plaintext
Executable File
# Description: Take in jira tickets from vulnWhisperer and pumps into logstash
|
|
|
|
input {
|
|
file {
|
|
path => "/opt/Vulnwhisperer/jira/*.json"
|
|
type => json
|
|
codec => json
|
|
start_position => "beginning"
|
|
tags => [ "jira" ]
|
|
}
|
|
}
|
|
|
|
output {
|
|
if "jira" in [tags] {
|
|
stdout { codec => rubydebug }
|
|
elasticsearch {
|
|
hosts => [ "vulnwhisp-es1.local:9200" ]
|
|
index => "logstash-vulnwhisperer-%{+YYYY.MM}"
|
|
}
|
|
}
|
|
}
|