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"