rename qualys modules to be more accurate
This commit is contained in:
@ -6,19 +6,19 @@
|
||||
|
||||
input {
|
||||
file {
|
||||
path => [ "/opt/VulnWhisperer/data/qualys_vuln/*.json" ]
|
||||
path => [ "/opt/VulnWhisperer/data/qualys_vm/*.json" ]
|
||||
codec => json
|
||||
start_position => "beginning"
|
||||
tags => [ "qualys_vuln" ]
|
||||
tags => [ "qualys_vm" ]
|
||||
mode => "read"
|
||||
start_position => "beginning"
|
||||
file_completed_action => "delete"
|
||||
}
|
||||
file {
|
||||
path => [ "/opt/VulnWhisperer/data/qualys_web/*.json" ]
|
||||
path => [ "/opt/VulnWhisperer/data/qualys_was/*.json" ]
|
||||
codec => json
|
||||
start_position => "beginning"
|
||||
tags => [ "qualys_web" ]
|
||||
tags => [ "qualys_was" ]
|
||||
mode => "read"
|
||||
start_position => "beginning"
|
||||
file_completed_action => "delete"
|
||||
@ -26,7 +26,7 @@ input {
|
||||
}
|
||||
|
||||
filter {
|
||||
if "qualys_vuln" in [tags] or "qualys_web" in [tags] {
|
||||
if "qualys_vm" in [tags] or "qualys_was" in [tags] {
|
||||
date {
|
||||
match => [ "scan_time", "UNIX" ]
|
||||
target => "@timestamp"
|
||||
@ -82,7 +82,7 @@ filter {
|
||||
}
|
||||
}
|
||||
output {
|
||||
if "qualys_vuln" in [tags] or "qualys_web" in [tags] {
|
||||
if "qualys_vm" in [tags] or "qualys_was" in [tags] {
|
||||
if [@metadata][id] {
|
||||
elasticsearch {
|
||||
hosts => [ "elasticsearch:9200" ]
|
||||
|
Reference in New Issue
Block a user