Update to logstash template

This commit is contained in:
Austin Taylor
2017-12-30 21:24:19 -05:00
parent 4a78387ce6
commit 732237ad5a
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"order": 0, "order": 0,
"template": "logstash-nessus-*", "template": "logstash-vulnwhisperer-*",
"settings": { "settings": {
"index": { "index": {
"routing": { "routing": {
@ -217,10 +217,11 @@
"type": "string" "type": "string"
}, },
"port": { "port": {
"index": "not_analyzed",
"type": "integer" "type": "integer"
}, },
"host": { "host": {
"type": "ip" "type": "string"
}, },
"@version": { "@version": {
"index": "not_analyzed", "index": "not_analyzed",

View File

@ -6,7 +6,7 @@
input { input {
file { file {
path => "/opt/VulnWhisperer/scans/**/*.json" path => "/opt/vulnwhisperer/scans/**/*.json"
type => json type => json
codec => json codec => json
start_position => "beginning" start_position => "beginning"