Merge pull request #12 from HASecuritySolutions/master

Fork Sync
This commit is contained in:
Austin Taylor
2017-12-20 01:39:26 -07:00
committed by GitHub
2 changed files with 41 additions and 1 deletions

40
docker-compose.yml Normal file
View File

@ -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:

View File

@ -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}"
}
}