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,
"template": "logstash-nessus-*",
"template": "logstash-vulnwhisperer-*",
"settings": {
"index": {
"routing": {
@ -217,10 +217,11 @@
"type": "string"
},
"port": {
"index": "not_analyzed",
"type": "integer"
},
"host": {
"type": "ip"
"type": "string"
},
"@version": {
"index": "not_analyzed",

View File

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