diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8527102 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,40 @@ +version: '2' +services: + vulnwhisp_es1: + image: docker.elastic.co/elasticsearch/elasticsearch:5.6.2 + container_name: vulnwhisp_es1 + environment: + - cluster.name=vulnwhisperer + - bootstrap.memory_lock=true + - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + ulimits: + memlock: + soft: -1 + hard: -1 + mem_limit: 1g + volumes: + - esdata1:/usr/share/elasticsearch/data + ports: + - 19200:9200 + networks: + - esnet + vulnwhisp_ks1: + image: docker.elastic.co/kibana/kibana:5.6.2 + environment: + SERVER_NAME: vulnwhisp_ks1 + ELASTICSEARCH_URL: http://vulnwhisp_es1:9200 + ports: + - 15601:5601 + networks: + - esnet + vulnwhisp_ls1: + image: docker.elastic.co/logstash/logstash:5.6.2 + networks: + - esnet + +volumes: + esdata1: + driver: local + +networks: + esnet: diff --git a/logstash/9000_output_nessus.conf b/logstash/9000_output_nessus.conf index 246e6ff..83bed64 100755 --- a/logstash/9000_output_nessus.conf +++ b/logstash/9000_output_nessus.conf @@ -7,7 +7,7 @@ output { if "nessus" in [tags] or [type] == "nessus" { #stdout { codec => rubydebug } elasticsearch { - hosts => [ "localhost" ] + hosts => "localhost:19200" index => "logstash-nessus-%{+YYYY.MM}" } }