From 732237ad5a28359711be4dc304b37afeab5d87ae Mon Sep 17 00:00:00 2001 From: Austin Taylor Date: Sat, 30 Dec 2017 21:24:19 -0500 Subject: [PATCH] Update to logstash template --- elasticsearch/logstash-nessus-template.json | 5 +++-- logstash/2000_qualys_web_scans.conf | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/elasticsearch/logstash-nessus-template.json b/elasticsearch/logstash-nessus-template.json index 49212b4..14928ca 100755 --- a/elasticsearch/logstash-nessus-template.json +++ b/elasticsearch/logstash-nessus-template.json @@ -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", diff --git a/logstash/2000_qualys_web_scans.conf b/logstash/2000_qualys_web_scans.conf index 78cf5da..758bc43 100644 --- a/logstash/2000_qualys_web_scans.conf +++ b/logstash/2000_qualys_web_scans.conf @@ -6,7 +6,7 @@ input { file { - path => "/opt/VulnWhisperer/scans/**/*.json" + path => "/opt/vulnwhisperer/scans/**/*.json" type => json codec => json start_position => "beginning"