Hive Module - New Version

This commit is contained in:
Mike Reeves
2019-09-25 13:16:49 -04:00
parent f69a5212ff
commit d979be82fb
2 changed files with 52 additions and 55 deletions

View File

@@ -56,7 +56,6 @@ so-thehive-es:
- transport.tcp.port=9500
- transport.host=0.0.0.0
- cluster.name=hive
- script.inline=true
- thread_pool.index.queue_size=100000
- thread_pool.search.queue_size=100000
- thread_pool.bulk.queue_size=100000
@@ -98,8 +97,8 @@ so-thehive:
- port_bindings:
- 0.0.0.0:9000:9000
#hivescript:
# cmd.script:
# - source: salt://hive/thehive/scripts/hive_init.sh
# - cwd: /opt/so
# - template: jinja
hivescript:
cmd.script:
- source: salt://hive/thehive/scripts/hive_init.sh
- cwd: /opt/so
- template: jinja

View File

@@ -5,59 +5,57 @@
# WARNING: If you deploy your application on several servers, make sure to use the same key.
play.http.secret.key="letsdewdis"
play.http.context=/thehive/
search.uri = "http://{{ MASTERIP }}:9400"
# Elasticsearch
search {
## Basic configuration
# Index name.
# Name of the index
index = the_hive
# ElasticSearch cluster name.
# Name of the Elasticsearch cluster
cluster = hive
# ElasticSearch instance address.
# Address of the Elasticsearch instance
host = ["{{ MASTERIP }}:9500"]
## Advanced configuration
# Scroll keepalive.
#keepalive = 1m
# Scroll page size.
#pagesize = 50
#search.uri = "http://{{ MASTERIP }}:9500"
# Scroll keepalive
keepalive = 1m
# Size of the page for scroll
pagesize = 50
# Number of shards
#nbshards = 5
nbshards = 5
# Number of replicas
#nbreplicas = 1
nbreplicas = 1
# Arbitrary settings
#settings {
# # Maximum number of nested fields
# mapping.nested_fields.limit = 100
#}
settings {
# Maximum number of nested fields
mapping.nested_fields.limit = 100
}
### XPack SSL configuration
# Username for XPack authentication
#search.username = ""
#username
# Password for XPack authentication
#search.password = ""
#password
# Enable SSL to connect to ElasticSearch
search.ssl.enabled = false
ssl.enabled = false
# Path to certificate authority file
#search.ssl.ca = ""
#ssl.ca
# Path to certificate file
#search.ssl.certificate = ""
#ssl.certificate
# Path to key file
#search.ssl.key = ""
#ssl.key
### SearchGuard configuration
# Path to JKS file containing client certificate
#search.guard.keyStore.path = ""
#guard.keyStore.path
# Password of the keystore
#search.guard.keyStore.password = ""
#guard.keyStore.password
# Path to JKS file containing certificate authorities
#search.guard.trustStore.path = ""
#guard.trustStore.path
## Password of the truststore
#search.guard.trustStore.password = ""
#guard.trustStore.password
# Enforce hostname verification
#search.guard.hostVerification = false
#guard.hostVerification
# If hostname verification is enabled specify if hostname should be resolved
#search.guard.hostVerificationResolveHostname = false
#guard.hostVerificationResolveHostname
}
# Authentication