Skip to content

elasticsearch job from logsearch/15

Github source: adde67de or master branch

Properties

elasticsearch

cluster_name

The name of the elastic search cluster

discovery

minimum_master_nodes

The minimum number of master eligible nodes a node should “see” in order to operate within the cluster. Recommended to set it to a higher value than 1 when running more than 2 nodes in the cluster.

Default
1

exec

environment

A hash of additional environment variables for the process

options

An array of additional options to pass when starting elasticsearch

Default
  - -XX:+AggressiveOpts
  - -XX:+UseCompressedOops
  - -XX:+UseParNewGC
  - -XX:+UseConcMarkSweepGC
  - -XX:+CMSParallelRemarkEnabled

host

The frontend elasticsearch node services should use.

indices

ttl_default

Default ttl for new documents. Time units: d (days), m (minutes), h (hours), ms (milliseconds) or w (weeks)

Default
30d
ttl_interval

Interval at which to deleted expired documents (based on their _ttl field). Time units: d (days), m (minutes), h (hours), ms (milliseconds) or w (weeks)

Default
1d

log_level

The default logging level (e.g. WARN, DEBUG, INFO)

Default
INFO

marvel

agent
enabled

Whether to enable the marvel agent

Default
false

node

allow_data

Allow node to store data? (true / false)

Default
true
allow_master

Allow node to become master? (true / false)

Default
true
tags

A hash of additional tags for the node

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/elasticsearch/ directory (learn more).

  • bin/elasticsearch_ctl (from bin/elasticsearch_ctl)
  • bin/monit_debugger (from bin/monit_debugger)
  • config/default.json (from config/default.json.erb)
  • config/logging.yml (from config/logging.yml.erb)
  • config/templates/logstash_default.json (from config/templates/logstash_default.json.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.