remove unnecessary groks

This commit is contained in:
pemontto
2019-04-22 11:38:41 +10:00
parent 8d59831855
commit 0c3200567e
3 changed files with 11 additions and 21 deletions

View File

@ -7,7 +7,6 @@
input {
file {
path => "/opt/VulnWhisperer/data/openvas/*.json"
type => json
codec => json
start_position => "beginning"
tags => [ "openvas_scan", "openvas" ]
@ -26,11 +25,6 @@ filter {
remove_field => ["scan_time"]
}
grok {
match => { "path" => "openvas_scan_%{DATA}_%{INT}.json$" }
tag_on_failure => []
}
# TODO - move this mapping into the vulnwhisperer module
translate {
field => "[risk_number]"